Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 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 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:

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


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

131 views 1 2
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