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.
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: https://studio.plugins.atlassian.com/browse/JSUTIL-157
Thanks,
Paul
This was perfect for us!! Thanks :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can't you use the Script Runner Plugin and add a post function to do it?
https://studio.plugins.atlassian.com/wiki/display/GRV/Script+Runner
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.
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.