Automate the version (Project releases) using the current naming convention

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

Create an automation rule that will create versions automatically.

Solution

Note: The version creation will work based on the previous version release/unreleased. So for the automation to pick up to create a new version, it should read a previous version.

For example: when you released xyz-1.119.0, Jira should create xyz-1.119.1 instead of xyz-1.120.0, so for such a case, you can use the smart value as below :

1 {{version.name.substringBefore(".")}}.{{#=}}{{version.name. substringBetween(".",".")}}+1{{/}}.{{version.name.substringAfterLast(".")}}

Updated on May 31, 2024

Still need help?

The Atlassian Community is here for you.