Hi, how can I add a condition in "Send a custom email" postfunction that chech if assignee is a user "uforenc"?
issue.assignee = 'uforenc' or sth else?
Thank you
Hi @Urszula Forenc ;
issue.getAssignee().getKey() == "uforenc"
should work fine (assuming you want to work with the user key).
Antoine
Hi @Urszula Forenc
If you mean Script Runner's "Send a custom email" post-function, please try this one.
issue.assignee == 'uforenc'
Regards
Hi Antoine,
it works, thank you very much
Ula
Hi Tansu,
I tried it, but with no result. Only this works:
/ as Antoine mentioned.
It looks like you're new here. Sign in or register to get started.