Hi, I have created an automation to just create a copy of a fix version when a fix version is released.
My automation triggers on a Fix version being released and I use smart variables to create a new Fix Version name and I create that new fix version. I am then using lookupissues to iterate through issues with the original fix version assigned to it, so that I can assign the new fix version to the same issues. But I can't work out how to set the fix version field of the issues in the loop. Is there a way of doing this ?
Solution was as follows. This triggers when a Fix Version is release and if the Fix Version Name does not start with "Prod", it creates a copy of the Fix Version with the Fix version name preceded by "PROD" and sets the Fix Version name in all the Issues
When Version Released
Create variable varOriginalVersion and assign Smart value {{version.name}}
Create variable varOriginalVersionDescription and assign Smart value {{version.description.abbreviate(100)}}
Create variable varVersionName and assign Smart value {{version.name.toLowerCase()}}
If block {{varVersionName}} 'does not match regular expression ^prod:.*
Then
Create variable varProdFixVersionName and assign Smart value PROD:{{version.name}}
Create variable varNewFixVersionDescription and assign Smart value 'Production release for FixVersion {{version.name}}'
Create version {{varProdFixVersionName}} and set Version description to {{arNewFixVersionDescription}}
Branch rule: For JQL fixversion='{{varOriginalVersion}}'
Edit Issue and set Fix versions to {{varProdFixVersionName}} {{varOriginalVersion}}
Great that you resolved your own issue. You should just click on "Accept answer" to mark this ask completed. At the same time, it will be great if you can post your solution to the ask, so other users with similar question can see it is an answered question.
If you want to delete your own question, you can just access your ask and click on the "..." option and select Delete Question to remove it.
Hope this helps.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Technology Applications Team
Viasat Inc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually I think I have this now but can't delete the question
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ian Rees
I guess the cmunity would be happy to see your solution. Would you be so kind to share and describe your solution here as an answer? You could then accept your own answer and it might help other users in the future to find a solution when faced with a similar problem.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.