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!
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.
In the Upgraded plans we see the "Remove" button.
So in free plan of jira it is not possible
Regards,
Vishwas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @David
We can remove them from the role via Jira Cloud API, I just tried and it worked out.
API link for same:
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.