Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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!

2 answers

1 accepted

3 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 Mandapaka 

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,


Hi @Danielle Bonneau 


Please share your configuration iam also looking into the version increment.

Now i have jira version "release v3.1.0 " is there, once i released this version automatically creating next version like "release v3.2.0"


please share your configuration.

Suggest an answer

Log in or Sign up to answer
Site Admin

Atlassian Community Events