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 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

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 Leaders.
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.

Suggest an answer

Log in or Sign up to answer