Forums

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

Triggers for not completed issues in sprint

Кирилл Матвейко March 31, 2022

Hi,

Can anyone help me to create a trigger for incompleted ussues in Sprint? So, if I close him with button "Complete sprint" and some tasks incompleted, Jira offers me move them in next Sprint. I need a trigger to raise their priority. Here is my draft:

Auto_.jpg

It works, but now priority changes always. Trigger shouldn't works with issues when I choose sprint for the first time, when I moderate them. I need automatically changes in priority only in sprint closing.

Meanwhile, can you tell about your own ways to control outstanding tasks? Are there any ways to mark incompleted tasks in Details or another fields?

2 answers

1 accepted

0 votes
Answer accepted
Piotr Zadrożny _Eyzee_
Community Champion
April 1, 2022

Hi @Кирилл Матвейко 

You are missing branch component to your rule (without it Jira Automation does not know to which issues change priority):

chrome_pZwMLT2bYt.png

So:

Trigger: Sprint Completed with selected Board

Branch rule / related issues: Issues in the sprint

Inside that branch:

  • Condition: depending on your configuration you can select Issue Field condition (Status not equal to Done), or JQL Condition (statusCategory != Done) or JQL Condition (resolution = Unresolved)
  • Action: Edit issue (change Priority field to Highest)

Best regards,

Piotr

Кирилл Матвейко April 1, 2022

Piotr, thanks!

0 votes
Josh Costella
Community Champion
March 31, 2022

Hi @Кирилл Матвейко 

Welcome to the Atlassian Community.

I think something like this could work for your situation. 

sprint closed.jpg

Кирилл Матвейко March 31, 2022

Josh, I did it, but there is an error in first step (I translated the field name manually).Auto_1.jpg

Suggest an answer

Log in or Sign up to answer