Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,448
Community Members
 
Community Events
184
Community Groups

ScriptRunner Issue Picker searcher not supporting "in", "is" operators?

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?

2 answers

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 

0 votes
Kat
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Oct 03, 2019

'IS NOT' does not work with Issue Key and Issue Link field types (see here).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events