Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Hello, can we set the priority by type of issue?

Manuel Allamellou March 13, 2019

I have in my project different type of issue. On each type of issue I want different level of priority. How can I do?

Thx

3 answers

1 vote
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 13, 2019

Hello,

I believe you can not do it out of the box. But you can use add-ons such as Power Scripts, Script Runner, Automation for Jira and so on.

If you want to use the Power Scripts add-on, then you can create a post function for the create issue transition with a code like this:

if (issueType == "Task") {

 priority = "High";

}

if (issueType == "Story") {

 priority = "Medium";

}
0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 13, 2019

Yes.  Without Apps, you can create a workflow for each issue type ((bound together by the workflow scheme for the project).  Each one can have a different post-function for "Set issue field (priority) to <your choice>" added to the create transition.

With Apps, you could write a script that looks at the issue type and chooses for you (so you could do it all in a single workflow)

0 votes
Petr Vaníček
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 13, 2019

Hi,

no out-of-box. You can set priority schemes per project only.

For your use case you should use scripting by Scriptrunner plugin. Some time ago I used it for custom filed values based on another field. But I don't have any example now.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events