How to differentiate between Azure active directory vs non-AAD(Jira )groups in Jira Cloud Rest APIs

MOD Administrator May 15, 2023

Use case: We have use case where Jira cloud is integrated to sync with azure active directory for automatic groups and user provisioning . Post syncing, Jira cloud rest APIs doesn't have any attribute in response to identify it it azure active directory group. 
Currently I am using groups bulk endpoint to fetch all groups <HostURL>rest/api/2/group/bulk. It has following response structure.

 {
            "name""<ABC>",
            "groupId""12ca485170-fa76-47fa-afbd-17b4a931a769"
 },

 Questions:
1. How to identify if a group is AAD group or external group (Jira side created)? Is there different Jira Cloud rest API endpoint exposed for this. Please tell me possible solutions.

2. In above response, looks like group Id is system generated not AAD id. How can I get AAD ID for group/user Jira Cloud  Rest API?

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events