Accidentally Added Administrator, Cannot Remove

David January 7, 2022

Hi.

I accidentally added someone as an Administrator of my Jira Project. Now they appear as an Administrator under my Jira Project > Access section. That section does not provide anything clickable, and the dropdown showing "Administrator" is greyed out.

I've checked all of my groups, and they are not in any administrative groups. I'm unsure how to remove this person as an administrator, but they should not be one.

Any recommendations would be greatly appreciated.

Thanks in advance!

3 answers

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 9, 2022

Hi David - Welcome to the Atlassian Community!

Atlassian's plan for everyone on the Free subscription to have full access to everything. You cannot change any permissions. If you need to do that, you need to get a paid plan. 

0 votes
Vishwas
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 8, 2022

Hey @David 

Welcome to Atlassian Community !!

You are on free plan of Jira rite, and the project type is Team Managed. In this there is not a way to remove a User from role.

TM_Access.png

In the Upgraded plans we see the "Remove" button.

TM_Access_Remove.png

So in free plan of jira it is not possible

Regards,

Vishwas

David January 8, 2022

This seems like a pretty big oversight. Can Atlassian Support make this change for me?

Vishwas
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 9, 2022

Hey @David 

We can remove them from the role via Jira Cloud API, I just tried and it worked out.

API link for same:

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-role-actors/#api-rest-api-3-project-projectidorkey-role-id-delete

It's bit tricky

This is the API we have to use to delete the user from a role:

curl --request DELETE \ --url 'https://your-domain.atlassian.net/rest/api/3/project/{projectIdOrKey}/role/{id}?user={User_id}' \ --user 'email@example.com:<api_token>'

Parameters to be passed:

{projectIdOrKey} --> provide project key

{id} --> this is the role id. (in your case Administrators id of that particular project which has to be obtained via API again, detailed steps mentioned below)

{User_id} --> we have to replace this with unique user id of that particular user. You can find the user id of an user by navigating to "User Management" in settings in site administration. Click on that particular user. Then in the URL the unique userid will be displayed at the end

To get the role id for that particular project we can query via this API:

curl --request GET \
--url 'https://your-domain.atlassian.net/rest/api/3/project/{ProjectKey}/role' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'

replace {ProjectKey} parameter with your project key where the user has to be removed from the role.

You will get the result in json format in that search for "Administrator" and it's corresponding id, take that and substitute in the first API query.

PS: creating an access token for your username kb link : https://help.siteimprove.com/support/solutions/articles/80000448174-how-to-create-an-api-token-from-your-atlassian-account

Hope you can remove the user from the role with this method :)

Cheers,

Vishwas

0 votes
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 7, 2022

Here are instructions on how to add or remove individuals from project roles like administrator. https://support.atlassian.com/jira-cloud-administration/docs/manage-project-role-membership/

If you are on a free plan it is not possible to do so.

Suggest an answer

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

Atlassian Community Events