How to create a set of tasks (with assignee, description, story points) on creation of sprints using jira automation
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.
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.
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:
Finally, if something is not working, please post a screenshot of your rule and audit log so community can help.
Hope it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.