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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

IQL - Exact match with lists


i'm currently trying to write a script which determines the security level of a given Request upon creation based on the settings of an insight field.

Now i'm running into the issue that when using IQL I have no means of checking a list for an exact match.

For example, even with the IQLs

"Teams" == BUSIT AND "Teams" == DEVSUPP

"Teams" IN ("BUSIT","DEVSUPP")

I will still get additional objects, as e.g. there is also one object that has these two in the list, but on top of that a few others as well.

Best regards

2 answers

Hi Thomas,

I would start by reviewing the IQL documentation and looking into the available Operators. Assuming you have done/will do that, you may need to use the IN and NOT IN operators to bookend the exact results you would like. Cheers!

Hi Joshua,

yeah, i worked with IQL for a few years now and just never had the need of exclusivity.

A combination of IN and NOT IN might work if i'd know all the values beforehand, which I'm not going to have.

My current approach is to get a list of all objects which might fit and then compare the lists directly in groovy, but somehow that seems very tedious for a simple comparison.

Best regards


Sometimes helps to reindex the objects also if the results don't seem to be matching your IQL.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

Announcing Mindville Insight is now part of Jira Service Management!

Hello Community! We’re excited to announce that Mindville Insight’s asset and configuration management capabilities will now be integrated into Jira Service Management Premium and Enterprise plan...

643 views 9 14
Read article

Community Events

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

Events near you