Hi,
I am trying to use the post-function "Fast-track transition an issue" with a condition on the fix version: I only want that post function to apply to issues that don't have a specific fix version.
The problem is that I can't find how to write a condition that is false when an issue has a specific fix version. Could somebody help me to write that condition?
This should be
"10.02" in issue.fixVersions*.name
Because... fixVersions returns a collection of Version, and the name is got by the getName() method.
Thanks alot!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How do you do "not in fixVersions"?
Usually this was just:
! ["version x", "version y", "version z"] in issue.fixVersions*.name
But for reason, the fast track transition fails, when the version = version a
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
nevermind...figured it out.
! issue.fixVersions*.name.intersect(["version x", "version y", "version z"]) && issue.fixVersions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pierre,
Have you tried issue.fixVersion != "version1"
Regards
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, but I tried that (with an "s") with the condition tester and the result is always "true", even when it should be "false". Does it work for you?
Here is what I get when I assert "issue.fixVersion=="10.02"":
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the square brackets indicate that it's a collection of some form, not a plain String.
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.