Hi guys,
We are developing a Jira cloud Auto provisioning service, and in the process, we want to add product access (now called "App access") to groups for Jira and Confluence sites via a REST API on both App access and administration access. These groups are created in Azure AD and then got synced to Jira through Enterprise Applications. These groups are visible in the App Access UI in both App access and administration access in the Add group dialog box.
We found an API to grant access to the group
Here the link: https://developer.atlassian.com/cloud/admin/organization/rest/api-group-groups/#api-v2-orgs-orgid-directories-directoryid-groups-groupid-role-assignments-assign-post
We are not sure about the roleId parameter here. We want to confirm whether this is the API we are looking to grant access to the groups.
Just for your reference, I've attached the UI page where we normally used to add product access earlier. Thanks in advance.