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: 

REST API - I don't see any product when I try to use the restful API to get all projects

Nemo LI -CHINA LAB-
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 25, 2024

 

Weixin Image_20240925161310.png

Like what's show here, it's 200 but nothing.

but in the homepage of company jira there are a lot of projects.

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Evgenii
Community Champion
September 25, 2024

Hi, @Nemo LI -CHINA LAB- 

Welcome to Atlassian Community

REST API is working. Checked on my test site. Are you sure, that account, you're using, has enough permissions to see projects?

Screenshot_10.png

Nemo LI -CHINA LAB-
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 25, 2024

@Evgenii thanks for your reply! that's why I'm confused, I could check the products in web pages but I don't see how to configure the permissions when I create the API Token, Could you tell me how to check my permissions?

Evgenii
Community Champion
September 25, 2024

When you create API token for user, requests are made with permissions, available to this user.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events