Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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

Jira Automation Smart value sprint dates and assign dates.

Hello everyone,

Can some one help me on this.

Is it possible to get a future sprints start and end date and then edit fields in the issues that were assigned to that sprint?

 

Sprint example

Name: "Sprint A (Mar10 - Mar 21)"

Sprint start and end date: input date in fields

 

When sprint is created

Scenario 1: start date

IF {{sprint.name}} contains regex [sprint]

AND find the issues that belong in that sprint

Edit the issue field "start date" with that Sprint start date

 

Scenario 2: end date

IF {{sprint.name}} contains regex [sprint]

AND find the issues that belong in that sprint

Edit the issue field "end date" with that Sprint end date

2 answers

1 accepted

5 votes
Answer accepted

Hello @Marina botica ,

Welcome to the Community. 

I am a bit unclear on your use case...when a sprint is created it has no issues assigned to it, so the Sprint Created trigger could not be used as you note.

Perhaps an alternative would be a rule triggered on Sprint Started...as sprint planning has probably occurred by that point and so the issues could be updated:

  • trigger: sprint started
  • branch: on JQL to find the assigned issues with sprint IN {{sprint.id}}
    • action: edit issue to set Start Date to {{sprint.startDate}} and Due Date to {{sprint.endDate}}  

I assumed that you meant Due Date rather than End Date.  If you have a custom field named End Date plus adjust accordingly.  Thanks!

Kind regards,

Satya

Hello Satya,

 

Thank you so much for the solution. it is working for me. 

 

Cheers,

Marina

Suggest an answer

Log in or Sign up to answer