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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

413 views 1 18
Join discussion

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