Forums

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

No projects returned with REST API

Atsunobu Yamada
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!
June 7, 2023

Hi,

I am trying to get projects from Jira Cloud using REST API.  I have two projects, but JIRA returns no projects.  Is there any trick I should follow?

I checked what I got from REST API using postman to find...

 

GET /rest/api/3/project/search

Status of server response is "200", and the response body is blow:

 

{
"maxResults": 50,
"startAt": 0,
"total": 0,
"isLast": true,
"values": []
}

1 answer

1 accepted

0 votes
Answer accepted
Atsunobu Yamada
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!
June 7, 2023

it seems that I failed to cut and paste API token correctly.   After resetting API token, I am now able to get a project list through REST API.

One thing to be noted here is that JIRA does not respond with 401 or 403 even if the credential is not correct.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, loom, AI, meeting recording, community

[NEW] Record your meetings with Loom

Welcome to great meetings, with less work. Automatically record, summarize, and share instant recaps of your meetings with Loom AI.

Learn more
AUG Leaders

Atlassian Community Events