We are naming our versions like this:
I'd like to create an automation rule which helps me create a new version with the correct name when the previous version is released.
I've found the smart value for version names, {{version.name}}, but since we're changing the last digit with every release it requires some modification.
We're in a Team-managed project in Jira Cloud.
This should do the trick, all this becaause version are not text.
Thank you! I have updated according to your notes.
Do you have a good idea on what to fill in the start date field? The start date should be the day after the release date of the previous version.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
(ignore the version name on my screenshot, it was shot before your comment)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Adding to the suggestions from @Marc - Devoteam ...
The numbering format for your versions will determine the logic needed to increment versions.
For example, if your minor versions increment up until some maximum (e.g., 12) then additional logic is needed. Please see this other post for an example of how to handle that situation: https://community.atlassian.com/t5/Jira-questions/How-can-I-automate-creating-a-new-version-after-a-version-is/qaq-p/2235664#M660611
Regarding the "Start date" question, you may use the date / time functions to access and increment the date from the just-released version in the trigger: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Can you try to use the following smart value in the Version Name field for the "Create version" action:
{{version.name.substringBeforeLast(".")}}.{{version.name.substringAfterLast(".").asNumber.plus(1)}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you! Will test.
Do you have a good ide on what to fill in the start date field? The start date should be the day after the release date of the previous.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.