how to get nested group names (sub group) using rest api or in groovy script.
eg: I have a group called "parent". another group called "child" and few users "user1", "user2"
parent is having a nested group child.
parent contains user user1, user2.
I want to fetch only the nested group. in this case its "child"