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,359,759
Community Members
 
Community Events
168
Community Groups

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

3 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

0 votes

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