Our groups are maintained in Crowd. It seems that when syncing, groups are pushed to Jira, but not the description of the group. I have been unsuccessful at finding the right call to make in order to grab the description of the group directly from Crowd.
Right now, I am finding the groups I want to get the description for using this search:
def groupSearch = ComponentAccessor.getComponent(GroupPickerSearchService)
def groupList = groupSearch.findGroups("ps-external-")
Hi @Dan Checovetes and welcome,
group description is something stored in crowd and it is not existing on JIRA side.
My suggestion is to try to use crowd REST API https://docs.atlassian.com/atlassian-crowd/5.2.3/REST/#admin/1.0/groups-groupDetails or use api https://docs.atlassian.com/atlassian-crowd/2.7.1/com/atlassian/crowd/service/client/CrowdClient.html on JIRA side.
Hope this helps,
Fabio
Thanks Fabio - I did attempt to go down the CrowdClient path, but had a little trouble with setting up the authentication and point it all to my Crowd instance. Do you have an example of this by any change?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.