Forums

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

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

Anantya Mary J September 21, 2022

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?

2 answers

1 accepted

2 votes
Answer accepted
Mohamed Benziane
Community Champion
September 21, 2022

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
Anantya Mary J September 21, 2022

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

0 votes
Taha Siddiqui November 28, 2023

Hi!

@Mohamed Benziane I want to get the list of groups but I don't want to pass the additional parameter like query, group id etc.. So that I can get the list of all available groups

Suggest an answer

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

Atlassian Community Events