Forums

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

How to exclude Jira projects by ID when using /rest/api/3/project/search?

Maxim Korhov
January 23, 2026

 

I’m using Jira Cloud REST API endpoint: GET /rest/api/3/project/search Is there any way to exclude specific project IDs directly in the request (for example, something like NOT IN or !=)? I already know that the `id` parameter works only as an include filter and that `query` is just a text search. Is there any supported way to apply exclude logic on API level, or is post-filtering in code the only option? 

1 answer

0 votes
Daniel Turczanski
Contributor
January 23, 2026

Hi @Maxim Korhov 

The JQL syntax to exlude all work item (issues) from a certain project is:

project!='Project name'

or using project id 10000:

project!=10000

 

Keep in mind that the GET /rest/api/3/project/search endpoint is soon going to be remove and you should be using GET /rest/api/3/search/jql instead: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-jql-get

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events