Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Sprint end date

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 Aug 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.

Any idea when this feature will be released?

Like # people like this
0 votes
Answer accepted

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. 

@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?

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

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

getSprintStartandEnd.png

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
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

105 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you