How to automatically append current user to custom multi user picker field during workflow transition?

I have a custom multi user picker field that I am looking to update automatically during a workflow transition, but I am looking to add the current user to the custom field and not replace the value. For instance, if we require multiple people to approve a deployment, we'd like to set up it up so that the different approvers can go in and click the "Approve Deployment" button and it will automatically add that current user to the Deployment Approval By custom multi user picker field. On the transition, I know there is a post transaction option to "Update Issue Custom Field" to "%%CURRENT_USER%%". However, that will just overwrite the existing value of the multi-user picker field to that user, not add the user to the value for that field.

I know that I can just make a screen for that transition and force the user to add themselves manually to that field. However, since JIRA also has decided that it's not important enough to allow the ability to restrict multi-user picker fields to certain groups or roles, it's a lot easier to just automatically do it for the user based on their %%CURRENT_USER%% tag instead of forcing them to search the list of all users in the company.

5 answers

1 vote
Paul Greig Atlassian Team Jan 16, 2013

Hi Stephen,

I wanted to let you know that an improvement request has been raised for this item. You can vote on its inclusion here:



This was perfect for us!! Thanks :)

Anybody have any ideas?

Anybody have any ideas?

Anybody have any ideas?

Can't you use the Script Runner Plugin and add a post function to do it?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,787 views 18 22
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you