The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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