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

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.

1 answer

3 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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

57 views 0 1
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