Forums

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

Can we apply 'Key in' and 'key not in' both in a single query

Sandeep Vashisht July 6, 2020

Can we apply 'Key in' and 'key not in' both in a single query. I am trying to do but it pick only one at a time.

2 answers

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 6, 2020

Yes, but you'll get nothing or everything back from it.   Could you explain what you're actually searching for?

Sandeep Vashisht July 6, 2020

i have a list of tickets from current sprint. Now i need to add few in the list from other sprint and that i can do successfully with 'key in'. Also i need to exclude few from the list which i cannot do by using 'key not in'. 

0 votes
John Funk
Community Champion
July 6, 2020

Hi Sandeep - Can you share the query you have so far?

Sandeep Vashisht July 6, 2020

sprint = xxx AND fixVersion in (xxx) AND type not in (Sub-task, Bug, Story-Bug) OR key in (Ticket number) or key not in (ticket number)

John Funk
Community Champion
July 6, 2020

Yes, when you get to the Key in (ticket number) or key not in (ticket number) it is going to bring back everything because every issue is going to match that.

Suggest an answer

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

Atlassian Community Events