Hi i have a multiple user assignees field which can consist as multiple assignees e.g. user1, user2, user3, user4
How do i retrieve each element from the assignee field? I try to split and get but failed :( help pls.
Hello @Jar Lady
Are your trying to do this in Automation? If so, can you tell what are you trying to do?
In DC edition, if
{{issue.Additional Assignees}} gives me list of assignees,
I can get the size using and {{issue.Additional Assignees.size}} and,
I can access each an item using index like {{issue.Additional Assignees.get(0)}}, or
I can iterate the list using {{#issue.Additional Assignees}}{{name}}{{/}}, and
I can extract a value using lookup like below:
{{#issue.Additional Assignees}}{{#if(equals(name,"U657451"))}}{{displayName}}{{/}}{{/}}
If its Automation rule, maybe share what you are trying to do so community can pitch in.
Hope it helps.
I just need to retrieve each assignee. But accessing each item using {{issue.Additional Assignees.get(0)}} doesn't work. I'm using 8.20.10 Jira software.
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.