Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,644,725
Community Members
 
Community Events
196
Community Groups

Automatically move a task to a sprint based on due date

Hi!

We plan sprints way ahead and I would love to have an automation that will move a task to appropriate sprint based on due date. 

For example, we have Sprint A (from 1 of Nov till 14th of Nov) and I have created a task with a due date 10th of Nov. It is possible to have an automation to modify the sprint field to Sprint A if the due date is in the timeframe of the sprint?

Thank you in advance! 

1 answer

1 accepted

1 vote
Answer accepted
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.
Dec 21, 2021 • edited

Hi @yuliia.soury 

Are you using Jira Cloud with the Standard or the Premium license?  If you are using Premium, there may be something in advanced roadmaps to help with this.

For Standard license, what you ask may be possible with an automation rule, although it would be a bit slow to run and a bit complicated to maintain.  Essentially it would need to:

A risk for this rule is it circumvents the scrum framework idea of planning, where the team evaluates the goal and the work to achieve it.  Thus you need to figure out a way for the rule to not make changes if the team has places issues in a sprint and then changed the due date later.

Kind regards,
Bill

Thank you Bill!

Like Bill Sheboy likes this
Chris Morgan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 23, 2022

Adding some detail for this as the list filtering isn't straight forward - you need to use Advanced Branching in order to have both issue date and sprint date values in scope at same time. https://community.atlassian.com/t5/Automation-articles/Branching-over-smart-values-in-Jira-Automation/ba-p/1741935 

Background: in my team we have non-negotiable recurring tasks that we have automated ticket creation for (all on different cadences, creating new ticket due in X weeks when current ticket goes to done). So we have used an automation that basically follows Bill's suggestion above to put these into the correct future sprint to save time during sprint planning.

The steps in our rule:

  • when: due date changed
  • send web request (get list of all sprints)
  • Advanced Branching - for each {{webResponse.body.values}} variable="sprint"
  • multiple If conditions matching issue.dueDate against sprint.startDate and endDate
  • edit field - update sprint using sprint.id
  • record to audit log
Like # people like this

@Chris Morgan could you please reach out to me on your solution. Not quite getting the part with the web request. Would really love the same automation to happen

Suggest an answer

Log in or Sign up to answer