Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to auto assign value to "Sprint" field in an issue created using Jira Automation?

Sai Kishan January 25, 2024 edited

Hi Team,

I am trying to create repetitive tasks for our company-managed Project using Jira Automation. The idea is to create Jira issues with "Create Sprint" from Backlog as the trigger and then the issues are automatically assigned to the newly created Sprint. The two values I get from the Sprint field are 1) Current Sprint and 2) Next Sprint. 

I am looking to have the Sprint value field of the newly created issues populated as the newly created Sprint, which was the trigger to this rule.

I would appreciate it if anyone can help me out in solving this or suggest a workaround

Thank you in Advance,

Sairepettay.png

1 answer

1 accepted

2 votes
Answer accepted
Bill Sheboy
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.
January 25, 2024

Hi @Sai Kishan -- Welcome to the Atlassian Community!

When creating the issue, you may also type in a smart value for the Sprint field.

And as your rule is using the Sprint Created trigger, that smart value would be {{sprint}}

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-development/#--sprint--

When you type in that smart value, it will appear below the Sprint field, and then it may be selected for the rule to use it.

Kind regards,
Bill

Sai Kishan January 26, 2024

Thank you ! @Bill Sheboy . I used {{sprint.id}} to solve this requirement. 

 

Thanks again for helping out!

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer