Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,993
Community Members
 
Community Events
168
Community Groups

get the list of projects Jira oauth2.0

Hi,

 

    I am trying to get the list of all projects from the following URL 

https://api.atlassian.com/ex/jira/<cloud-id>/rest/api/3/project/search

according to the following URL https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects/#api-rest-api-3-project-search-get


I also have the following scopes requested while setting up the Oauth

"%20read%3Aboard-scope%3Ajira-software",
"%20read%3Aboard-scope.admin%3Ajira-software",
"%20read%3Aissue-details%3Ajira",
"%20read%3Aissue%3Ajira-software",
"%20read%3Ajql%3Ajira",
"%20read%3Aproject%3Ajira",
"%20read%3Asprint%3Ajira-software"


Still I always get the following reponse, irrespective of where I hit the API from 

{
"self": "https://api.atlassian.com/ex/jira/<cloud-id>/rest/api/3/project/search?maxResults=50&startAt=0",
"maxResults": 50,
"startAt": 0,
"total": 0,
"isLast": true,
"values": []
}

 

1 answer

0 votes

I can also see 3 projects under me when I log into my Jira account

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events