Searching issues except CPR

Sagar Mali October 11, 2023

Hi All,

 

I want to search all issues except "CPR" issues, how do we search ?

Thanks in advance..

2 answers

1 vote
Valerie Knapp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 11, 2023

Hi @Sagar Mali , thanks for your question.

You can use the Not In in the JQL query, like this

type NOT IN (CPR)

Please can you test this and give us your feedback if this resolves your issue?

Cheers

Sagar Mali October 11, 2023

assignee = currentUser() AND resolution = Unresolved order by updated DESC AND NOT IN (CPR)

This is not working. 
In "Key" field "CPR" issues are there

Valerie Knapp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 11, 2023

Hi @Sagar Mali , I understood you meant that CPR was an issue type, my apologies for the confusion.

You should try this instead to search for text.

description !~ "CPR"

So the full query would be this-

assignee = currentUser() AND resolution = Unresolved order by updated DESC AND description !~ "CPR"

Hope that helps.

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.
October 12, 2023

How are you telling Jira that an issue is a "CPR issue"?  Issue type?  Project?  Content of a field?

Sagar Mali October 12, 2023

Type CP Patch Request

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.
October 12, 2023

Ok, so you can add a clause for "and issuetype != 'CP Patch Request'"

Sagar Mali October 15, 2023

It worked, thanks

Suggest an answer

Log in or Sign up to answer