Forums

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

How do I set default Sprint priority for bugs

Tapas Polai August 1, 2024

Hi all I want to set default Sprint Priority of a bug created as P0. How do I do that ?

3 answers

1 accepted

3 votes
Answer accepted
Lisa Forstberg
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.
August 1, 2024

Hi @Tapas Polai ,

I am trying to understand what you want to accomplish.

Are you using Sprints in a Scrumboard in Jira? Do you have a custom field called Sprint Priority? 

If you want to set a custom field to a default value for the issuetype Bug upon creation, this can be  achieved on multiple ways:

1. create a bug context on that custom field, choose default value P0 and make it required for Bugs via field configuration

2. Add a post function in the Bug workflow on the create transition and set the field to P0 

3. Add an automation to trigger on creation of bug and update the field to P0

But still a bit curious to what you want to achieve. What does "Sprint priority" mean for you? Please add some more information about the problem you face and solution you envisioned.

Normally the issues in a sprint are ordered in rank, the issue placed at the top of the sprint has a higher importance than the next etc. There is also a Priority field in Jira, separated from the rank system that can signal criticality, impact or urgency for example. 

Also if you want to achieve higher visibility on Bugs in sprints you can utilise swimlanes on the active sprint view of your scrum board and f ex organise a Bug swimlane at the top so the team easily spot them.

br

Lisa

Tapas Polai August 1, 2024

Hi @Lisa  we are using Sprint priority field to set task priority as P0 ,P1 ,P2 etc. 

As for the bugs we want any issue type which is created as bug should be of P0 which is of highest priority.

0 votes
Fabio Racobaldo _Herzum_
Community Champion
August 1, 2024

Hi @Tapas Polai and welcome,

do you need that default "sprint priority" will appear to end user and he can change it? If so you could try to setup a Behaviour provided by scriptrunner.

If you need that a default sprint priority will be automatically associated to a bug after a creation you can put in place an automation.

Hope this helps,

Fabio

Tapas Polai August 2, 2024

Hi @Fabio Racobaldo _Herzum_  

we are using Sprint priority field to set task priority as P0 ,P1 ,P2 etc. 

As for the bugs we want any issue type which is created as bug should be of P0 which is of highest priority.

 As of now in automation we can only set priority as low high or medium by default for all the issues created.

 

is there a solution where we can assign Sprint priority by default for issues created . For example Sprint Priority should be P0 for all the bugs logged 

0 votes
Hans Polder _Devoteam_
Community Champion
August 1, 2024

@Tapas Polai ,

You could do that using Automation.

I assume the 'Sprint Priority' field is a custom field in your environment? Can you share a bit more context please? :)

Tapas Polai August 2, 2024

we are using Sprint priority field to set task priority as P0 ,P1 ,P2 etc. 

As for the bugs we want any issue type which is created as bug should be of P0 which is of highest priority.

 As of now in automation we can only set priority as low high or medium by default for all the issues created.

 

is there a solution where we can assign Sprint priority by default for issues created . For example Sprint Priority should be P0 for all the bugs logged 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events