If I have a version field (e.g affectedVersion), which can store multiple values, and I want to find all issues where there is a specific combination of values (not just issues that contain any of them), can I do it?
Issue 1, affectedVersion = 1.0
Issue 2, affectedVersion = 1.0, 2.0
Issue3, affectedVersion = 2.0
Is there a search that I can do to identify issues where the affectedVersion only contains "2.0" (i.e. I want to return Issue 3, but not Issue 2)?
You would need to filter on version 2.0 and exclude in the same query all other versions (possible if you have only few)
fixversion = "2.0" and not fixversion in ("1.0","1.1","1.2",....)
But since the second expression can contain many versions I don't think it is feasable.
Don't know if it's still relevand but for the future generations:
-I wanted to search for a specific fixVersion(So Issue2)
-I've tried the method above but i still got result that have more than 1 fixVersion.
-about 4 hours later i started thinking and found out this:
fixVersion not in versionMatch("^(?!Version 1.2.3$)")
and it works properly ;)
Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs