Forums

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

Need to export all projects and project admins list in jira cloud

Geethanjali S J
Contributor
October 28, 2021

Hi All,

Need to export all projects and project admins list in jira cloud.

We got projects list by using Restapi.

And to get project admins list we used below url

https://domain.atlassian.net/rest/api/3/project/project ID/role/role ID

But by this url we get only for one project I need for all projects

Can anyone please help me with this.

Thanks,

Geethanjali.

1 answer

0 votes
Thomas Deiler
Community Champion
November 1, 2021

Dear @Geethanjali S J 

you are on the right way. Do first a rest call, that returns all projects. From that response you will need the "project IDs".

Then for each project ID call

https://domain.atlassian.net/rest/api/3/project/project ID/role/role ID

where "role ID" is the right one pointing to the "Admin" role.

So long

Thomas

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events