You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Looks like ScriptRunner doesn't fancy some collection functions in JQL.
For example, a query:
project = ABC and "Project Link" is NOT EMPTY
would produce an error "The operator 'is not' is not supported by the 'Project Link' field."
On the other hand this JQL works fine and basically produces the expected results
project = ABC and "Project Link" != ABC-0001
where "Project Link" is my customField of IssuePicker type with single value select
While this particular workaround solves "is not empty" case, the other function i.e. "in (<subset>)" doesn't work.
I suspect that " Issue Picker searcher" component is broken/incomplete. Anybody else ran into the same problem?
If you have a license for ScriptRunner and its JQL functions, then an equivalent to the "IS EMPTY" clause for those that really need to know whether it's empty could be:
issueFunction in issueFieldMatch("", "Name of Your Issue Picker Field", "^$")
At least this appears to work for me.
Thanks,
Mike
'IS NOT' does not work with Issue Key and Issue Link field types (see here).
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.