How to assign a ticket to a user based on the priority of the ticket in JIRA?

I have a requirement on a project that a ticket which is a Blocker should be assigned to ABC user, ticket which is a Major should be assigned to DEF user, so on.

Has anyone implemented a worfklow in JIRA which does something like this? I know you can design a workflow which can assign a ticket to the user based on the type of the ticket but based on the priority can you assign a ticket to a user? Please help.

Courtesy: this link.

2 answers

Hi, You can do that with script runner plugin. Write a post function something like in answer below. https://answers.atlassian.com/questions/140304/groovy-post-script-to-assign-a-user-based-on-a-customfield Hope it helps Vijay

I was expecting to see an easy answer, hmm, do we have an easy answer? :D

Update on Transition for JIRA allows you to condition the running of a post function so you can construct an Update issues post function for each priority you want to handle. You can do this on initial create (How to update issues after initial issue create) or at some other point in your workflow.

This is a good option, I will look into this.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

89 views 0 5
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