Forums

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

Set the due date to the last date of the sprint

Neta Knyazhansky Caspy
Contributor
January 28, 2024

Hello,

I'm trying to create an automation to set an Epic's due date to the last day of the sprint to which the Epic is assigned to.
If possible, an even better automation would set the due date at the last day of the sprint + 16 days, to include other processes that need to take place once dev is completed.

The trigger would be any change to the Spint field, for the action, I guess I need a smart value and would appreciate assistence with it.

Thanks

1 answer

0 votes
Walter Buggenhout
Community Champion
January 28, 2024

Hi @Neta Knyazhansky Caspy,

May I suggest this is a bit of a strange use case, for many reasons:

  • on a scrum board, Epics are in the Epic panel, so you don't add them to a sprint;
  • epics are meant for larger bodies of work, which most commonly spans multiple sprints
  • Jira has several timeline tools available (especially on the premium plan, with Advanced Roadmaps) that automatically display issues on a timeline by the sprint they are in
  • ...

Also, sprints are meant to be planned up-front and then run with a minimum of scope changes. That's why you have automation events specifically linked to the creation / start / completion of the sprint. There's no specific triggers to respond to an issue being added to a sprint. If you absolutely want to set the due date to issue, it may be a more scalable idea to do so when the sprint is started:

  • trigger: sprint started
  • branch: for issues in sprint
  • action: edit issue, set value of sprint field to {{sprint.endDate}}

Visually, the rule would look like this:

Screenshot 2024-01-28 at 14.09.25.png 

Hope this helps!

Neta Knyazhansky Caspy
Contributor
January 29, 2024

Hi @Walter Buggenhout

Thank you for your response.

I think I may have not made my intention clear, though I agree there're definite cons to assigning Epics to a sprint.

The idea is to assign an Epic in advance to the spint in which the dev part will be complete, this will mark QA to plan feature testing to the following sping.
To show the Epic on the advance roadmap timeline I must also have a due date (sprints aren't showing as my source is a filter), so I'm looking for an automation to add the due date to the last day of the sprint + 16 days.

I hope that's clearer.

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