Jira automation - {{issue.sprint}} doesn't work

Deleted user June 10, 2022

I want to copy the value of the sprint field from one issue to another (as a text). The problem is, the {{issue.sprint}} doesn't seem to be accessible. In the screenshot below I'm trying to print out values of variables. {{issue.key}} works, everything else is blank.

Please help.

Screen Shot 2022-06-10 at 9.51.16 AM.png

1 answer

2 votes
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 10, 2022

You have to use {{sprint.xxx}}, the sprint is not tied to the issue itself, the issue only holds a reference to it. You can see the different options for the Sprint smart value here.

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.
June 10, 2022

Hi @[deleted] 

Yes, and...to Mikael's answer:

You do not show your entire rule for context, and so the {{sprint}} smart value is only available stand-alone if the trigger was one of the sprint-related ones: sprint created, started, completed.

Within an issue, the sprint field is a list, and so if your issues have been in multiple sprints please review the list smart values to include all values.

Kind regards,
Bill

Like Mikael Sandberg likes this

Suggest an answer

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

Atlassian Community Events