Forums

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

Is there a way to filter Jira projects by name only using API?

Tulika October 13, 2025

Hi,
I'm working with the Jira Cloud REST API and looking for a way to fetch projects based on their names only, either partially or fully. I came across the following endpoint:

                                         GET /rest/api/3/project/search

This endpoint accepts a query parameter, and while it does allow partial matching, it seems to return projects where the name or key matches the search string. However, in my use case, I need to filter strictly by project name — I want to exclude matches based on the project key.

So my questions are:

  1. Is there a way (via REST API) to filter projects by name only — for example, fetching only projects with names containing "Finance"?
  2. Does the query parameter in /rest/api/3/project/search support filtering only by name, or is it always name or key?
  3. If there’s no native support for name-only filtering, is the only workaround to fetch all projects (or query-filtered ones) and then filter by name manually on the client side?

Any guidance or known workarounds would be appreciated. Thanks!

1 answer

0 votes
Divya S October 13, 2025

Hi  ,

We can use a script  to retrieve only the projects whose names contain the string you wanted, since the REST API does not provide a way to filter by project name alone and matches both name and key.

For example, from the API response, we can iterate through all returned projects and select only those whose name field contains "Finance", effectively ignoring any projects that matched only by key. This way, even though the API itself does not support name-only filtering, we can reliably get the exact projects we need.

Suggest an answer

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

Atlassian Community Events