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,366,369
Community Members
 
Community Events
168
Community Groups

How do I fetch the list of available groups and projects via API?

There's no API to fetch the list of all available groups in the documentation.

I found an API to get details about a single group. But it is deprecated in the documentation. 

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-groups/#api-rest-api-3-group-get

 

The same way, the API to fetch all the available projects is also deprecated.

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects/#api-rest-api-3-project-get

 

Can you please help me with how to get the list of all the available groups and projects via API?

1 answer

1 accepted

2 votes
Answer accepted

Hi,

this api should return all the group in your instance (use it without parameter)

/rest/api/3/group/bulk

For all project you can use this

/rest/api/3/project/search

It works amazing!! Thanks a lot @Mohamed Benziane !!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS

Atlassian Community Events