Hello everyone!
I'm working on a behavior from scriptrunner on cloud, which would set a summary depending on the group the current user is a part of.
For that, I'm calling a request for the jira api, specifically the myself endpoint: /rest/api/3/myself
But even though I'm admin and have all permissions in the instance, the response returns empty brackets when it comes to groups, like so:
"groups": {
"size": 5,
"items": []
},
I'd like to understand why I can see the number of groups I'm part of, but not any additional info in 'items', and is there any way to know which groups the current user is part of via rest api?
Thank you!!