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
TAGS
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events