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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,558,455
Community Members
 
Community Events
184
Community Groups

How can I use automation to add a field displaying which sprint an issue was completed in?

I am trying to create automation that will add the current sprint to a field when an issue is transitioned to a done status. This way, at the end of the year, we can see multiple metrics by sprint. 

However, since we have some issues that take multiple sprints to complete, the sprint value come in as string value containing all of the sprints the issue was apart of.  I am just looking for the sprint that was active when the issue was completed. 

I have the automation set up correctly but I am unable to figure out the correct smartvalue or methodology to pull just the active sprint.  

I found https://community.atlassian.com/t5/Jira-Software-questions/Get-active-sprint-name-in-smart-value-for-automation/qaq-p/1573065#U1874946 which looks similar to this issue and I am able to pull in the delimited sprint values it describes but I am unable to get the match function to work to bring it home. 

Would anybody have any idea how to accomplish this?

1 answer

0 votes
Fabian Lim
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 30, 2021

Hi @Craig Cinder

I would try this:

Trigger: when a sprint is completed in board xxx

Action: create smart value variable - sprint Id  smart value

Action: lookup issues with jql status = done and sprint id = smart value variable from above.

Action: advanced branching and update the field over the lookup issues: https://community.atlassian.com/t5/Automation-articles/Branching-over-smart-values-in-Jira-Automation/ba-p/1741935

You may want to contact the author of the post if you have some questions.

Regards

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events