Hi
We have a multi user select and would like to set the assignee to the first of them.
I could use smart values if the value of the multiselect comes back with something like "jiraAccountID1, jiraAccountId2, jiraAccountId3" ... but how would I get the first one and then set that user as the Assignee?
Please advise how I can do that? Will be much appreciated
Thank you
Yatish
Try
{{issue.customfield_ID.get(0)}}
works for setting the assignee in my data center environment.
Thanks for this @Martin - I am on Jira Cloud
I actually found the solution ... Using something like {{issue.customfield_ID.last}} or {{issue.customfield_ID.first}} on list fields like Multi user fields works perfect.
Thanks again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.