I'm trying to make an automation that does the following:
When and issue is closed
If the FixVersion is not empty
Then ADD TO the FixVersion with the next unreleased version
AND
If the FixVersion is empty
Then add to the FixVersion with the next unreleased version
All I can seem to do is clear and replace the field. I want to keep the original version, so I know when it was originally scheduled. I do have Scriptrunner
How about add fixVersions to the transition screen when you close the ticket?
Hi @April_Delay
You can use Automation to execute this for you.
A rule like this should be able to for see in your request
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marc, this is close, but the problem is I want the issue to add a FixVersion when closed, even if it already has one.
So like... issue has FixVersion 1.1
It closes
Add FixVersion 1.2
New value is 1.1, 1.2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @April_Delay
Short version: you cannot do that without a work-around
Longer version:
JQL knows about Next Unreleased Version for queries, and rules know about that value for field edits, but the issue fields know nothing about other versions/releases: only their current values.
One work-around would be:
So I made this rule:
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.