Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Accidentally Added Administrator, Cannot Remove

David I'm New Here Jan 07, 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 Jan 09, 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. 

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 I'm New Here Jan 08, 2022

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

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

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
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

517 views 1 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you