I want to be able to programmatically add/remove users from the Global Operations Admin role.
Is there an API call that I can use to add/remove users from the Operations Global Admin role for JSM Operations?
I looked through the API documentation for JSM Operations, but nothing for setting a system role. There's only a grouping for handling Custom user roles.
Hi @Gary Spross
As operation is based on a Team, there might be options in the Team API, https://developer.atlassian.com/platform/teams/components/team-public-rest-api/#rest-apis
But I might have misunderstood your question.
@Marc -Devoteam- , thanks for the response. I'm referring to the roles in Operations.
https://support.atlassian.com/jira-service-management-cloud/docs/what-are-the-member-roles-in-operations/
I see that my question didn't make this clear, so I'll edit it and add this.
I think I found this, based on my findings a Global Operation Admin is a user with App admin permissions, so a Jira admin (Product Admin)
So you should be able retract Product admin permissions form users, this will also revoke the Global Operation Admin permission
Unless of course a user is a site or org admin
A user in the Global Operations Admin role does not have to be a Jira Admin. If I look at an existing user, that's in the Global Operations Admin role, within the admin console, there's nothing indicating that they are in this role. It's only from the Operations -> Settings -> Role assignment that this can be seen.
I see, but you can only grant this role from the Operations section, there is no API option for this.
It looks like you're new here. Sign in or register to get started.