Create
cancel
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

Automation rules: How to get the name of the last created release

Hi,

I have created a rule where whenever I start a sprint, a release is also created based on the name of the sprint. This works well.

Then, I want to change the fix version for all issues in the sprint and assign them to the release I just created. The options I get when creating the rule are "Next unreleased version", "Last release version" or a hardcoded value. 

The "Next unreleased version" option could work but the thing is that often more than one versions could be unreleased in parallel.  I tried using a smartvalue {{release.last.name}} but it's probably not correct and it did not work.

Any ideas?

1 answer

1 accepted

1 vote
Answer accepted

Hi @Maria Chrysanthopoulou -- Welcome to the Atlassian Community!

You are probably using some smart value expression to create the new version, such as:

  • Release for {{sprint.name}}

Whatever value you are using to create the version, try first setting it to a created variable and then use that value to set the fixVersion.

Kind regards,
Bill

Hi @Bill Sheboy

That did the trick. Thanks a lot!

Like Bill Sheboy likes this

Suggest an answer

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

👋 Looking for 15-20 volunteers to test Atlassian training content

Hi everyone! Are you interested in beta testing Atlassian University’s newest (unreleased!) training course? We’re looking for 15-20 volunteers to test our newest training course, Basic reporting...

812 views 24 28
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