Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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?

2 answers

1 accepted

2 votes
Answer accepted
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 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

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

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