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: 
  • Community
  • Q&A
  • Jira
  • Questions
  • is it possible to retrieve list of porjects where the user has admin access? If so, is it possible with Jira Rest Api?

is it possible to retrieve list of porjects where the user has admin access? If so, is it possible with Jira Rest Api?

Gopi krishna
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!
August 7, 2013

is it possible to retrieve list of porjects where the user has admin access? If so, is it possible with Jira Rest Api?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Shun Hirayanagi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 7, 2013

How about thefollowing way?

  1. At first, access /rest/api/2/project,then you can retrieve all of the project keys you can access.
  2. Next, access /rest/api/2/mypermissions?projectKey=KEY. The JSON response will include
    the information about "PROJECT_ADMIN" and "havePermission":true or false.
  3. Repeat the step2 for all of the project keys.