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 do I create a release version using the name of a sprint in Automation for Jira?

Today, my process is to create a ticket at the beginning of the sprint to track our releases as well as a release version. Both the release ticket and release version use a similar naming convention. I'd like to automate all of this.

Sprint: OurTeam S34 MM/dd-MM/dd

Ticket: Sprint 34 Release

fixVersion: Team Sprint 34 Build:775

I use Automation for Jira and I'd like to auto-create both the release as well as the release ticket in the sprint. I've gotten the ticket creation to work however I can't figure out how to use the number portion of the sprint name. I can't find any documentation on the Codebarrel site for {{Sprint}} or how to manipulate the string to pull out the number.

I'm not an engineer, so I don't fully grasp how to use the Java examples. 

How do I use a portion of the sprint name to set the title of the new ticket?

1 answer

1 accepted

1 vote
Answer accepted

Hey there Geoff,

It depends a bit on how you're triggering off your rule, if you're using the Sprint trigger (

You can use the {{}} as smart value in your "Create issue" action. To match a part of the sprint name like the sprint number, you'll need to use the "match" function and regular expressions (see

It smart value you can use for a Spring name that looks like "OurTeam S34 MM/dd-MM/dd" and you're extracting "34" might be something like:

{{".* S(\d*)")}}

So in the creation issue action, you can have:


Hope that helps! If it still doesn't work, you could post your results & audit log here or if the info is private, raise a support request at


Mark C

This worked perfectly. Thanks for the quick response!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Keep your team in the loop with Team @mentions in Jira Software!

Hi everyone! My name is Jenny, a Product Manager at Atlassian. After launching Team @mentions in Confluence, we heard a lot of positive feedback from customers that they love how easy it is to @men...

558 views 6 18
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