Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automate tasks on Sprint Creation

Janarthanan Rajan
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!
March 11, 2024

How to create a set of tasks (with assignee, description, story points) on creation of sprints using jira automation

2 answers

0 votes
Monica_Day April 24, 2025

1. Trigger:  choose the Sprint Created trigger and specify the board the rule should apply to (typically your Jira project name).

2. Add an action: Add a "create work item" action. Select the jira project this is for and then issuetype you want to add from the drop-down. Now you have the option to select any fields you want to update. You can update the assignee. description etc. 

In order to make sure the task is assigned to the newly created sprint, choose sprint as one of the fileds to set. 

3. Click the three dots next to the Sprint field to set it to {{sprint.id}}. Note that it looks like there are only two values to choose from, but you can paste in a smart value. But once you paste in the value you actually have to click it again in the drop-down before it will let you save it. 

6.png

Last thing to add, if Sprint does not appear as an option in the "Choose fields to set" dropdown, there is a workaround where you save the {{sprint.id}} in the label field, add a branch, set the branch for the most recently created work item, and then add an action to set the sprint value to {{issue.labels}}. This ridiculous workaround effectively saves the new sprint value as the 4 digit code, adds it as a label, and then updates the sprint ID to match the label value. This will avoid the Number value expected as the Sprint id., The Sprint (id) must be a number (customfield_10007) error that you can run in to when trying to do this more directly. 

 

0 votes
Kalyan Sattaluri
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.
March 11, 2024

hello @Janarthanan Rajan 

 

Welcome, what you have described is one of the basic use cases of the automation capabilities of Jira.

Please review automation overview to get an understanding of the offering and its capabilities

https://www.atlassian.com/software/jira/guides/automation/overview#what-is-automation

Please review below posted solution for your specific use case:

https://community.atlassian.com/t5/Jira-Software-questions/Create-Tasks-and-subtasks-for-BAU-on-sprint-start/qaq-p/2548294

Finally, if something is not working, please post a screenshot of your rule and audit log so community can help.

 

Hope it helps.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events