How to have priority automatically assign to issue type

I want to try using priorities in a slightly different way, and therefore a certain issue type would always be a certain priority. For example a bug would always be standard priority. Is there a way to do this automatically or will it have to be done manually in each ticket raised?


2 answers

1 accepted

0 vote

It's a bit of a fiddle on Cloud (in Server, I'd use the script runner to keep it more simple), but possible.

You will need a different workflow for each issue priority you want to set.  (e.g. if you have priorities of high, medium and low, you'll need three workflows).  Obviously, you can get one workflow correct and then copy it a couple of times.

On the "create" transition, add a new post-function "set field (priority) to a value (h/m/l as required)"

I would remove the priority from the create screen (as the post-function is going to overwrite it anyway) and probably consider removing it from edit and transition screens as well, so the users can't ever change it.

For JIRA Server, you can use the Update on Transition for JIRA add-on, which allows for conditional processing based on JQL,Regex pattern matching, etc.

This recipe illustrates how to use JQL-based conditioning, and you may also find these articles helpful:

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

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

144 views 5 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