Jira Automation: Create Fix Version weekly

Conrad Goodman May 10, 2023

We use the Releases feature, but manually create each release. They are always on the same day each week.

We create a few in advance, so if issues are destined for the week after next, they can be tagged as such.


For example, right now we have:

 

230509-ProductName

230516-ProductName

230523-ProductName

230530-ProductName

 

Thanks to this forum, we currently have an automation that releases the version when all the issues tagged to it are marked as Released.

 

We now need a trigger for when a version is released, it creates a new one 4 weeks in advance, e.g.

230509-ProductName is Released

 

230606-ProductName is created.

 

I suspect we will have to change our versions from date numbers, to 0001,0002,0003 etc, but what is possible and best practice?

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 10, 2023

Hi @Conrad Goodman 

First thing, and IMHO, there are no best practices...only better and worse ones for your team.

That being noted, if your team finds it helpful to create the versions with some form of the date included, you can do that using the Create Version action and the date time functions of rules, particularly the format() function: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/

Without seeing your complete rule, I suspect you can just add the needed actions to create the versions, and increment/format the date to build the version name.  One wrinkle is deciding if you want to detect if the version is already created (and so not try again) or just do it, and ignore the errors; both are possible with the rule you describe.

Give it a try, and please let the community know how that works for you.  Thanks!

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events