Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Jira Automation: Creating a fix Version with appropriate name

Has anyone successfully created Automation within a Jira Project to create a fix Version with the appropriate fixVersion name?

What I would like to do is, when a version is released, the next version is automatically created.

For Example: Release 3.2.1 -> Jira Automation automatically creates 3.2.2

What I am finding is that it cannot do the math correctly in incrementing the value.

I have tried {{#=}}{{}} + 1{{/}} and {{#=}}{{}} + 0.0.1{{/}} and several other variations and I keep getting this error: "Error rendering smart-values when executing this rule:null: 3.2.1 + 0.0.1"

Any help would be greatly appreciated!

1 answer

1 accepted

2 votes
Answer accepted

HI @Danielle Bonneau 

I believe the format of the version number you are using is text, and not a number, due to the multiple decimal points/periods. 

Have you tried to split the value apart, increment the last value, and then concatenate back together for the new value?

Best regards,


Hi Bill,

Thank you for your response! That makes sense that it would be a text vs a number.  I thought I might have to figure out something fancy with splitting, incrementing, and concatenating but I haven't gotten far enough along to figure out how to do that. 

If you have any examples so share I'd really appreciate it!


Thanks again,



Hi Danielle,

I made a quick attempt to capture a released version, split it, increment, and reassemble... but I ran into a couple of hurdles:

  • First thing, the released version provided from the webhookData is not the complete version record , it is something that appears to be the name only...
  • Which would be fine, if the Split function could parse it. Instead it returns the whole thing or empty string. I have found other community member posts asking about issues getting Split to work as documented.

I posted another question about finding more documentation on automation webhookData, so let's see what others provide.  The original source from the company who built the automation, Code Barrel, was sunset when Atlassian acquired them in October, so no help there.

In the meantime, if you figure this out, please post your solution.  Thanks!

I appreciate you giving this a shot Bill!  I will attempt to play around with it some more.


Thanks again!

Just in time... I figured it out: create a rule that triggers on version released, action is to create a new version, with this value:


This works by the following:

  • Take everything before the last period,
  • Add back in a period,
  • Take everything after the last period, and increment it


Some things I learned along the way


Best regards,


Hey Bill,


Just gave it a try and it worked like a dream! Thank you so much!  

Do you happen to know if there is a way to have that release automatically go to the bottom of the version list (becoming the earliestUnreleasedVersion)? That would just be a bonus - what you provided is so helpful!

Thanks again!

Hi Danielle,

I am glad that helped.  Please consider marking this one as a solution so others can find it later.

Regarding the version ordering, it seems people have been asking for this feature in the suggestions.  Please take a look at the items in this backlog search to see if any of the ideas would help as some of them include work-arounds.


Best regards,


Hi @Bill Sheboy 

Can we set up start date for fix versions in Jira cloud by using Automations??


Thanks in Advance.


Hi @Seetham Raju 

Yes, and I believe that you would need to do so using a web request action to the REST API edit those fields.

It is not yet possible to set the Start Date directly during the Create Version action.  Here is the suggestion to add that feature:

Best regards,


First off, I wanted to say this is incredibly helpful. Thank you for marking this as a solution.

I have a similar situation as @Danielle Bonneau

Our version naming is a little different. We use don't us a 1.1.0 type of naming. We just use 1, 2, 3...100, etc.

I wanted to know how I can use @Bill Sheboy solution but with numbers without decimals?

For reference, this is Bill's solution.


Hi @Don Doblados 

This technique is to use the text smart value and math smart value functions to split/parse the just released version to build the new one.  Note for complicated names you may need to use a regular expression with match() and/or replace() functions.

Please take a look at the format of your current version naming to see what is consistent versus variable text, and you should be able to determine what to replace the "." with to make it work. 

If you get stuck, please post your version naming format and what you have tried so far and the community can provide ideas.  Thanks!

Best regards,


Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Confluence

Introducing External Collaboration for Confluence

We’re excited to introduce external collaboration for Confluence, now available in early access. It is available to preview for Confluence Cloud Premium and Enterprise customers. (If you're not on ...

185 views 0 7
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