Hi,
is it possible to use SPEL to configure the mail-to-address value? I’d like to give conditional value with SPEL here to integrate the ShinyProxy issue feature with GitLab using the “issue by email” feature.
I tried to do something like this:
mail-to-address: “#{#{proxy.userId} == ‘USER1’ ? ‘email1@email.com’ : ‘email2@email.com’}”
I’ve no experience in SPEL, so any help is appreciated.
Finally I want to make a nested conditional expression, to map the users personal GitLab address to their ShinyProxy userId.
Of course I’m interested in any other equivalent solution.
Thx
Tibor