Forums

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

Auto set Issue prio when adding ticket to started sprint

Stijn Coppens March 18, 2022

Hello,

How should I create a custom-action to auto-set the PRIO of a ticket that is added to an active, already started, sprint?

Not only when it is a new created ticket, also when it is moved into the Sprint.
Also not altering the PRIO of a ticket when being moved in the started Sprint.

Regards,

 Stijn.

2 answers

1 accepted

0 votes
Answer accepted
Clark Everson
Community Champion
March 18, 2022

Hi Stijn,

 

You would want to use an automation Rule

 

If you haven't played with automation before I would recommend tryingin Atlassian's playground

 

https://www.atlassian.com/software/jira/automation-template-library/rules?&aceid=&adposition=&adgroup=125210443099&campaign=13965435323&creative=534739550159&device=c&keyword=&matchtype=&network=g&placement=&ds_kids=p65171670343&ds_e=GOOGLE&ds_eid=700000001741655&ds_e1=GOOGLE&gclid=EAIaIQobChMIsvXZ7JPQ9gIVFKjICh3ybQAzEAAYASAAEgISuvD_BwE&gclsrc=aw.ds#/

 

It would look something like the screenshot though I made that in under a minute so I didn't test it or anything.Screen Shot 2022-03-18 at 1.15.44 PM.png

Stijn Coppens March 18, 2022

@Clark Everson I already tried with 

Screenshot 2022-03-18 at 18.24.22.png

but not covering the problem. I'll give it a try with the "when value changes for".

Thanks!

0 votes
Bill Sheboy
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 18, 2022

Hi @Stijn Coppens 

The details of your use case are a bit unclear to me.  It seems you want to set the issue's Priority field based upon some criteria when the issue is created, or added to a sprint which is not in progress.  Is that correct?

If so, you could do this with a couple of different automation rules.  For example the one for issue created could be:

  • trigger: issue created
  • action: re-fetch the issue (to confirm you have all of the data)
  • condition: priority is empty
  • action: edit issue field to set the priority

You do not describe how you decide the priority value, and so the rule may need additional conditional logic.  

To learn more about automation rules, please take a look at these references:

Kind regards,
Bill

Stijn Coppens March 18, 2022

@Bill Sheboy 

The condition I indicated is: Ticket is added to already 'started' sprint.
The action should be: Set ticket PRIO to 'blocker'.

Because only blockers are/should be added to an 'active' sprint.

So this doesn't apply on 'issue created'.

I think I'll first try the solution of @Clark Everson

Thanks for the fast response.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events