Auto Assign per User Picker Field

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?

1 answer

1 accepted

2 votes
Accepted answer

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.

This worked! Thanks Jaime

You're welcome, Adam.

I am glad it worked.

Kind regards.

Jaime Kirch da Silveira

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"?

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).

* 'of of' should be 'one of'

Thank you. that did the trick.

I'm glad to hear it, Paul! Cheers.

@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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,097 views 4 9
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