Forums

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

Automatically update due date when an issue move from a sprint to another

nicolas.rigaill-ext March 23, 2023

Hi everyone, 

I'm looking for an automation to performs  2 actions on issues : 

1. When an issue is moved from the backlog to a sprint, Update both Start date and Due date. --> I have an automation for this one, and it works well

2. When an issue is moved from a sprint to another, Update only the due date (start date must remains in the initial sprint) --> I can't find how to realize this one :( 

I tried something with If/else block, but it doesn't work.

Does anyone have an idea ? 

Thnak you,

Nicolas

2 answers

1 vote
Najm Polaris
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 23, 2023

Hi @nicolas.rigaill-ext , 

the below automation will take care of both the scenarios. 

download.png

nicolas.rigaill-ext March 24, 2023

Hi @Najm Polaris ,

Thank you for your answer.

As we use BigPicture, all the tasks in our project scope (even if they have no sprint yet) have a start date and an end date.

Is there a way to write a jql that look for the number of sprints in the field ? 

Najm Polaris
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 24, 2023

@nicolas.rigaill-ext

take another field to check if was added to a sprint or not. I used the label sprint for this. This would suffice both the conditions even if it has a start date. 

 

download (2).png

0 votes
Jack Brickey
Community Champion
March 23, 2023

What will the due date be set to? What date field will be used to set the Duedate?

if the sprint end date is used then maybe rethink your approach. Maybe Is sprint started as the trigger, and set the duedate to the sprint end.

nicolas.rigaill-ext March 23, 2023

Hi Jack, 

I need the sprint end date to be defined as due date. 

But I need it to be updated as soon as it is placed into the new sprint.

 

What do you mean by "set the due date to the sprint end" ? The sprint end date must remains as defined by the user. Only the issue due date must be updated accross the sprints.

Please let me kniw if my explaination isn't clear.

Jack Brickey
Community Champion
March 24, 2023

something to try...

trigger on Issue updated, field = sprint

condition - assess if sprint is in future sprint 

action - edit issue and copy End date to Duedate

Suggest an answer

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

Atlassian Community Events