Jira automation to edit a fix version's name

tassilo.posegga October 13, 2022

We have a rather complex setup of multiple fix versions per issue due to multiple products we are shipping with the same code base. We create fix versions like product1-next, product2-next.
Once we create a release branch for a product I need to rename the current -next version of a product to a specific version.
How can I edit a fix version using automation? Out of the box we can only create/release/unrelease versions.

2 answers

4 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.
October 13, 2022

Hi @tassilo.posegga -- Welcome to the Atlassian Community!

At this time, I believe the only way to do that is by calling the REST API with a web request to update the version.  There is an open suggestion to allow editing a version directly from a rule here: https://codebarrel.atlassian.net/browse/AUT-932

If you want to try calling the REST API, here is a how-to article and a reference the method to call:

Kind regards,
Bill

tassilo.posegga October 14, 2022

Thank for clarification @Bill Sheboy 
This looks rather complex as I would have to fetch all versions first and lookup the id by name.
How can we get more attention on the open issue?

Like Stefan Salzl likes this
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.
October 14, 2022

As you appear to be on a paid Jira license, you could work with your site admin to submit a ticket to Atlassian support and learn of any work-arounds or escalation for the issue: https://support.atlassian.com/contact/#/

IMHO...For an edge case like this, I suspect it may not get much forward movement.  Sorry I could not be of more help.

0 votes
Kelly Arrey
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.
October 16, 2023

Atlassian support opened https://jira.atlassian.com/browse/AUTO-935 on my behalf (I don't seem to be able to access the ticket Bill linked above. Please vote and subscribe.

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.
October 16, 2023

Thanks, @Kelly Arrey 

Atlassian removed public access from that old Code Barrel backlog...which is too bad as there were a lot of good tips / work-arounds in there. 

It is unclear if all of the items got cloned over into the new backlogs for AUTO and JIRAAUTOSERVER, so thanks for the new one!

Kind regards,
Bill

Like Kelly Arrey likes this
tassilo.posegga April 10, 2024

I don't seem to have access to that link - I assume it might be limited to the account owners? Wanted to check in on the progress :)

Suggest an answer

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

Atlassian Community Events