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,365,056
Community Members
 
Community Events
168
Community Groups

Can we create the jira automation rule to Start the sprint.

Is it possible to access sprint details in rule?

I have tried with smart values like {{sprint.name}} {{sprint.Startdate}} to print but it is not printing.

I want to start the sprint if sprint's start date is matched with today's date or passed date.

Let me know is there any approach to do this.

 

 

Thank you for always responding and resolving the query.

2 answers

4 votes
Jimmy Seddon Community Leader Sep 28, 2021

Hi @Mohini Chandwani,

You won't be able to accomplish this via an automation rule.  Automation rules act upon issues not sprints.  The start of a sprint is a trigger event that can be used to act upon a set of issues but you can't use an automation rule to act on a sprint.

You should be able to do this from the API:

First you would need to get the sprint you wish to update:

https://developer.atlassian.com/cloud/jira/software/rest/api-group-sprint/#api-agile-1-0-sprint-sprintid-get

Followed by updating that sprint and specifically changing the state to active:

https://developer.atlassian.com/cloud/jira/software/rest/api-group-sprint/#api-agile-1-0-sprint-sprintid-put

I hope that helps!

-Jimmy

0 votes

Hi @Mohini Chandwani 

We created a Cloud app that does exactly that. 

Check out Sprint automation for Jira

Let me know if it works for you. I am always happy to help the community. 

Jerry

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events