Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×

Forums

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

How to get nested group names using jira rest api ?

Shruti_Chauhan April 16, 2019

Hi,

I have created a number of groups in Jira and nested those groups. Now, what I need is to get the parent group names and subgroup names separately in Jira rest API. I only need to get those through rest API without using any plugin or function.

I used below API to get the group details-

/rest/API/latest/groups/picker

but the above API just give me detail of all the groups that I created. I don't know how to categorize them on the basis of the parent group or subgroup. (see attached screenshot)groupDetails.png

One more thing that I observed is that we have a 'Labels' key in "Groups" array. So we can categorize the parent group and subgroup on the basis of 'labels' too, but I didn't find any option in Jira to add a group label. (see attached screenshot)groupLabel.png

Can someone help me to find the rest API for categorizing the group details and how to add labels in the group?

0 answers

Suggest an answer

Log in or Sign up to answer