How to remove previous admin from jira-administrators group?

The previous administrator who originally set up JIRA left the team, and now as new sys-adm I cannot kick him out of the "jira-administrators" group.

Any idea on how to do this?

5 answers

1 accepted

From Editing group membership:

  • If the group has the 'JIRA System Administrators' global permission, you cannot edit its membership unless you have the 'JIRA System Administrators' global permission.

Does your user has the 'JIRA System Administrators' permission? You will need it to remove the membership.

Yes, he does have JIRA SysAdm perms. And that is because he belongs to group "jira-administrators". But I cannot eject him from this group, so I am in a dead-end here...

0 vote

You can't remove the last user, you need to make sure you are in the group to replace him.

0 vote
Chris Fuller Atlassian Team Feb 10, 2015

I cannot kick him out of the "jira-administrators" group.

What exactly do you mean by "cannot" here?  As in it doesn't let you go to the user administration pages at all?  It greys out the options to modify group memberships?  You can attempt to modify the groups, but it gives you an error message (what message)?  It doesn't react at all?  It looks like it does something, but when you go back to check the group is really still there?

You say that your user is in system-administrators, but I'm wondering if you explicitly added your new sys admin to jira-administrators as well?  You haven't said what version you are using, and I would not be surprised if one of the checks is confused by you having system administration privileges but not basic administration privileges.  You cannot remove the last user that has that privilege, so if you have not granted it to yourself, then it won't let you remove it from someone else.

In other words, even though being a system admin allows you to modify permissions, including your own, and even though it implies basic administration in most respects, this particular check may not honour that.

 

I have a similar problem. I am allowed to perform all operations and click all the correct buttons but it doesn't seem to have any effect. The user remains in the group.

I found a way to do this, just delete on database level the jira-admin group of the person, then restart JIRA

 

SELECT * FROM cwd_membership WHERE child_name = 'xxxxxxxxx';

DELETE FROM cwd_membership WHERE id = xxxxx;

You never worked out why you couldn't do it though - was he the only admin? Were you in the group as well?

No i didnt. 5 more users in this group. I had a theory that only the initial admin could remove from this group, but did not seem like it.

I'm curious simply because it sounds like something is broken. It won't let you remove the last (active) admin, but if there are others in the group, it should. Resorting to SQL is ignoring the real problem, but in this case, should be safe.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

84 views 0 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you