Is there an ability to select all issues that have particular fix version but excluding issues with that one and other fix versions.
For exmaple, I have issue #1 with fixVersion = Rel1, Rel2 and issue #2 with fixVersion=Rel1.
I need query and return issue #2 only.
Is this possible using advanced searching?
ok here we go:
go get jamies script runner plugin first.
https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner
with this one installed you can query exact matches as described here:
one examle for you:
i created two test issues.
#1 with fixVersions = v1,v2
#2 with fixVersions = v2
this is the JQL to use in advanced search to grab #2 only..
issueFunction in issueFieldExactMatch("project = TEST", "fixVersions", "[v2]")
cheers
This doesn't work anymore as noted here. https://jamieechlin.atlassian.net/browse/GRV-673
It doesn't appear to have been addressed.
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.
In case someone is still looking for a solution, here is one small query that worked:
AND (fixVersion < Rel1 OR fixVersion > Rel1)
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 @Gary Miner
It worked well for me.
Just curious, could you please describe what are you trying to query?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For me it doesn't work.
Is there another solution, which works?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, will take a look. It's bad there is no standard way in JIRA to do exact match query...
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.
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.
To add - I would like to avoid counting all versions as in and not in.
So query
fixVersion in("Rel1") and fixVersion not in ("Rel2")
is not desirable.
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.