Using JQL I'd like to be able to perform a query sort of like this:
project in (project1, project2) AND affectedVersion != fixVersion
Of course, this query doesn't work. I'd like to know how to compare the Affects Version field to the Fix Version field in JQL. My company's got ScriptRunner, which from what I can gather is required to do this kind of query.
Is there a builtin method in ScriptRunner that will do this kind of comparison? I know that the:
issueFunction in expression(....)
won't do it.
If not, what's the best way to go about making a custom issueFunction to compare these fields? I tried following these examples, but don't have much experience in Groovy unfortunately.
Thanks so much for your help!
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