Forums

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

Cannot get all project with REST request

Kiss Zoltán August 25, 2020

I try to get every project on a Jira instance with this request:

https://.../rest/api/2/project/

and I get 413 projects, instead of the existing 454.

If I write the project key into the request, then it finds the missing project.

https://.../rest/api/2/project/XYZ

What can cause this problem?

1 answer

0 votes
Thomas Deiler
Community Champion
May 4, 2021

Dear @Kiss Zoltán ,

as far as I know this is a glitch. When you search for all projects, only those that the calling user can "browse" are listed (even if admin). When you direct access one project, you can do if you are an admin.

So long

Thomas

Kiss Zoltán May 5, 2021

Thank you Thomas,

To be honest, I've already forgot the reason why I've asked it, but thanks for your answer.

Zoltan

Suggest an answer

Log in or Sign up to answer