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

Sprint end date

Caio Fernandes
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 27, 2020

Hi.

 

I need to automate a rule that sends an email when the sprint end date arrives.
I tried to use a rule with {{sprint.endDate}} but it's not working.

{{sprint.endDate}} greater than {{now}} + 1

Did anyone have this need?

Thank you in advance

3 answers

2 accepted

0 votes
Answer accepted
Simmo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 27, 2020

Hi @Caio Fernandes ,

I'm afraid that there isn't really any easy way to do this at the moment. We have an item in our backlog, https://community.atlassian.com/t5/Automation-questions/Sprint-end-date/qaq-p/1467444 which would help with this.

In the meantime, you might try Florian's workaround.

Cheers,

Simeon.

Steven Remotigue
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 8, 2021

Any idea when this feature will be released?

Like # people like this
0 votes
Answer accepted
Florian
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.
August 27, 2020

I think this is only possible with a dummy issue. The documentation says that the sprint smart values are available within some triggers: 

sprint

{{sprint.id}}
{{sprint.name}}
{{sprint.isStarted}}
{{sprint.isClosed}}
{{sprint.startDate}}
{{sprint.endDate}}
{{sprint.completeDate}}
{{sprint.originBoardId}}
{{sprint.goal}}

 

So what you can do is use the “sprint start” trigger to create an issue with some marker (label, component, custom field, whatever) that allows you to identify it later. Set the due date to {{sprint.endDate}}. 

Then write a second automation with a „schedule“ trigger and som JQL like this:

project=myproject and label=sprintwatcher and resolution is empty and due<=-1d

Let this rule run one a day. 

Then add a third automation for „sprint completed“ trigger with a branch rule with some JQL to closed the issue along with the sprint. 

It‘s magic. 

Sadeesh Narendran
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.
July 8, 2021

@Florian 

What if a issue is spilled over to next sprint? the {{issue.Sprint.endDate.jiraDate}} is taking the Sprint end date of previous Sprint End Date.

 

How to get value of Current/ Active Sprint End date value?

Kelli Frattini-Adams July 27, 2021

I need this too! Help - how do we do this best?

0 votes
Garrett McCreery
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.
August 4, 2021

You can run a schedule once a day and follow this method...

getSprintStartandEnd.png

Petr A November 7, 2021

Hi Garrett! @Garrett McCreery 

How did it works for you? Do you have any idea why this error might occur?

Thanks!

Screenshot_10.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events