How to get group Id of jira cloud

I want assign user to group. but I don’t know the group Id

You can use the find groups REST API call where you use the group name as query parameter and iterate over the results to find the exact match: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-groups/#api-rest-api-3-groups-picker-get

Or you can use the bulk get groups call where you use the groupName parameter: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-groups/#api-rest-api-3-group-bulk-get

1 Like