I have created a "PTO Request" issue type and have included a user picker field on the form which will be used to specify the requestor's manager. I would like to set the workflow up so that when the issue is created, it is automatically assigned to the manager specified in the user picker field so they can be notified and either approve/decline the request.
Is there a way to auto-assign an issue to the user specified in a "user picker" field?
Hi, Adam.
You can do this with the plugin 'JIRA Suite Utilities', which comes with OnDemand, but you have to enable it.
Once you have this plugin enabled, you can go to the 'create issue' transition in the workflow you want to modify and add a post function. When you create the post function, choose 'Copy Value From Other Field' . In 'Source Field' you choose the field that holds the requestor's manager and in the 'Destination Field', you choose 'Assignee'.
The order of the post function may affect the functionality.
I hope it is helpful.
Kind regards.
Jaime Kirch da Silveira.
You're welcome, Adam.
I am glad it worked.
Kind regards.
Jaime Kirch da Silveira
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We use this function, and our employees use the Customer Portal to enter their request. Works great. Some of our employees do not see the list of users to pick from in their browser session of customer portal, but most do. Are you aware of any special browser settings to consistently use the field as a "type-ahead"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is generally because they don't have the 'Browse Users' global permission. You can press g+g in you JIRA and enter 'Global Permissions', selecting it when it appears. There you search for the 'Browse Users' permission and see which groups have it. Make sure your users belong to at least of of these groups (you can add other groups to the permission if necessary).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you. that did the trick.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm glad to hear it, Paul! Cheers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jaime Silveira Is there any way to do this in ScriptRunner instead of using the add-on? I need to do exactly this for a client but they do not want to purchase any add-ons
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.