Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL filter for multiple organizations nested condition

Shaumic November 30, 2022

Hi Good people 👋 ,

I would like to see the issues that breached SLA for "time to first response" which do not belong to a couple of specific organizations.

Currently I am using the below filter which shows issues that breached SLA and was not created by OrganizationA:
project = TEST AND "Time to first response" = breached() AND Organizations != "OrganizationA"

I would like to add Organizations != "OrganizationB" to this same filter

NB: 

  • Organizations can't use NOT IN operator
  • also if I do something like:
    project = TEST AND "Time to first response" = breached() AND Organizations != "OrganizationA" OR Organizations != "OrganizationB"
    it probably won't work since it probably doesn't consider it a nested condition

Please help! Thank you : )

1 answer

0 votes
Valerie Knapp
Community Champion
November 30, 2022

Hi @Shaumic , thanks for your question.

I was doing some tests with this and you can use NOT IN, but it doesn't work how I thought it would.

If I search for project and specify I don't want an organization, it returns the issue I have where there is an organization value, but not of organization B.

image.png

I think you might be more successful if you try to search for the positive, as in specifying the values you are looking for, instead of trying to exclude the ones you are not.

image.png

I hope this helps.

Advanced search reference - JQL fields | Jira Service Management Cloud | Atlassian Support

Shaumic December 1, 2022

Hey @Valerie Knapp 

Thanks a ton for your response. The issue with searching for the positive is, we have a lot of organizations :(

Like • Valerie Knapp likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events