The problem is this: my teams manage their work to multiple releases, a "milestone" release and a "all complete" release. I want to create an automation that ensures the "all complete" release is added to each and every card.
Finding the cards that need to have the release version added is pretty simple, something like:
project=PROJ and fixVersion != "all complete"
The problem is the only way I know to add the fixVersion is to use the Edit issue action. The edit issue action will allow me to set the fix version to the specific version, but then it will replace all existing values (including the "milestone" release(s)). If I copy it from another issue, then it can be appended, but as near as I can tell there isn't a way to append a specific release version.
Any other ideas? What am I missing? Thank you!
Hi @Joel Gillespie ,
The fix version field can contain many versions, even in the "edit issue" screen you can select as much versions as you like.
All of the above said in case you don't have some custom scripts running on your Jira to disable users from adding more than a single version to this field.
BTW - you should be able to change the fix versions field by clicking on the value of fix versions fields when viewing an issue in full screen.
Elad, thanks for the response. I am able to set the fix versions manually. The problem I'm having is how to set them automatically. Basically I want to make sure to always add an "all complete" version to every card so that, in addition to tracking the progress towards the "milestone" version, we can track towards the final release. We are currently doing this manually by setting the list of versions on the cards themselves, but would like to simplify the process by using jira automation (now that it is built in)
Using the Jira automation is pretty simple:
You need to decide what's the trigger: You should probably use "issue created" or "issue transition" (or use a scheduled trigger to run every day if you want less automation runs)
You can then filter irrelevant issues such as subtasks (JQL: issuetype not in subtaskissuetypes() AND fixversions != "all complete" )
And the last step should be "edit issue", in this step you select "fix versions field" and on the "add" select the "all complete" version.
You can find some good tips to start with Jira automation in my presentation here: https://bit.ly/2VKW7TD
Let me know if you don't succeed.
That is what I've done, the problem is that while I can add fixVersions from the parent epic to the current issue:
I cannot do the same thing for setting a specific version:
So, as nearly as I can tell, if I set any of the version specifically, it will wipe out all the values that already exist, which isn't what I want.
Thanks, your suggestion worked for me however I have another problem.
Problem is I want that if Sprint is changed to A, Fix version should also reflect A (we are using same naming conventions) and if we change Sprint field to Z, it should update JIRA with Fix version as Z and remove Fix version A
so is there a way we can use some sort of regular expression eg below:
"name":"CCS PI21.3 Sprint 3"
👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events