A user who is a member of the Project Role (Administrators) which has been added to the Administer Project permission is unable to edit the Project Lead. According to the documentation, the Administer Project permission allows any user w/ the permission to edit the Project Lead:
Permission to administer a project in JIRA. This includes the ability to edit project role membership, project components, project versions and some project details ('Project Name', 'URL', 'Project Lead', 'Project Description').
However, with this bug, a user with the Administer Project permission is unable to edit the Project Lead. No errors
appear in the UI or in the logs.
- Create a project and grant the user Project Administration permission
- Login to the instance as the user and navigate to project settings > Users and Roles
- Click on "Edit Defaults"
- Change project lead to another user
- Click "Update"
The update completes and pop-up window closes. User is able to update changes to Project Lead and you see the Project Lead correctly updated on the page. The update button does not respond. You will see a brief spinning wheel, but the "Update" button does not actually update the user.
Receiving an error indicating "You must have global administrator rights in order to modify the project key."
Looking in the logs with com.atlassian.jira.security DEBUG, all the permissions clear:
If you add the user to the administrators group, they will be able to edit the Project Lead. Or if that is not possible, another project administrator in the administrators group can make the change.