Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to get individual users from user list from jira field

We have a form where customers can enter multiple users in a filed, basically we have it linked to User Picker (multiple users) field type. The issue I have is, I want to create individial tickets based on each user mentioned in the field iteratively using jira automation.

The problem is, I can get the count of how many users are entered in the field, but no where in the jira smart values help pages I was able to find how to get each individual values seperately.

This is wati tried wit hte vriables:

My variables:
count(storing the size in a custom field):{{issue.customfield_10808}}
count formated:{{issue.customfield_10808.format("###")}}
Get index using variable:{{issue.customfield_10668.size}}
Display second last member using index:{{issue.customfield_10668.get(2).DisplayName}}
Display second last member using size:{{issue.customfield_10668.DisplayName.get(issue.customfield_10668.size.minus(2))}}
Display second last member using count field:{{issue.customfield_10668.DisplayName.get(issue.customfield_10808.minus(2))}}
Display second last member using count formated:{{issue.customfield_10668.DisplayName.get(issue.customfield_10808.format("###").minus(2))}}
The Output:
All:Chris Hemsworth, Eric Bana, Hugh Jackman, Nicole Kidman
count(storing the size in a custom field):4.0
count formated:4
Get index using variable:4
Display second last member using index:Hugh Jackman
Display second last member using size:Hugh Jackman
Display second last member using count field:
Display second last member using count formated:

Last 2 statements return blank.

Basically i am unable to get the names out from the list except the first and the last name using the  out of the box list.first or list.last smart value.

Ho do i get the user in the list seperately to populate e single user field?

1 answer

Hello @rupen_deshpande 

If you don't mind using third-party apps, our Copy & Sync application can help you with that.

You can easily create a dynamic number of issues based on the number of components in a field. In your case, you can dynamically create issues based on the users in the field and retrieve each individual values separately. Take a look at our documentation which explains how it works.

If needed, you can insert your Copy & Sync recipes in Jira Automation.

Let me know if you have any question, I'll be glad to help!



Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events