Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,499
Community Members
 
Community Events
165
Community Groups

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

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 Jun 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.

Hi @Katy Sherman 

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
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,741 views 37 47
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