Create and set Fix version according to Sprint name

ori gal
Contributor
February 26, 2025

I would like to automaticly create a new Fix version value when a ticket is assigned into a sprint. The Fix version name should be according to the Sprint name.

 

When a ticket is moved between sprints, the Fix version value should change accordingly.

 

I tried to run the following, but It doesnt perform any action.

 

Thank you!

image.png

1 answer

0 votes
Tomislav Tobijas _Koios_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 26, 2025

Hi @ori gal ,

Few questions:

  1. Can you share the audit log for this rule? (last executed one should do)
  2. Can you confirm if the rule creates new version (if one already doesn't exist)?
  3. How did you configure 'Edit issue' action within the branch?

I've just created pretty much the same rule where, for Fix versions, I've used smart value

{{sprint.name}} 

and it worked as expected.

2025-02-26_12-09-59.png

There might be some edge cases you'd like to look at (e.g. what if someone just clears the 'Sprint' value and 'Fix versions' is also empty and such).

Cheers,
Tobi

ori gal
Contributor
February 26, 2025

Hi Tobi!

Not only that the Fix version is not populated, the version in not created at all.

The log below is after I added the smart value {{sprint.name}} as you suggested.

 

image.png

Thank you for your help!

ori gal
Contributor
February 26, 2025

can you share the full automation steps on your end?

ori gal
Contributor
February 26, 2025

ok, I manage to get it to work, however, it carrys the prevoius sprints into the Fix version and I would like to have a single value with the current sprint only.image.png

Tomislav Tobijas _Koios_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 26, 2025

@ori gal as Sprint is actually a list, just try this:

{{sprint.last.name}}

 

ori gal
Contributor
February 26, 2025

almost there :)

The fix version is set only once and than its not changing when I move the ticket to anoter active sprint. any idea whay?image.png

Tomislav Tobijas _Koios_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 26, 2025

@ori gal guessing it's condition. As the first automation sets Fix version, once you change Sprint, Fix version is already filled out/not empty. You'd probably want to remove

AND fixVersion IS EMPTY

part, or adjust the JQL somehow so it fits your requirement :)

ori gal
Contributor
February 26, 2025

its worked. Thank you @Tomislav Tobijas _Koios_  for all your help!!

Suggest an answer

Log in or Sign up to answer