Uploaded image for project: 'Jira Server and Data Center'
  1. Jira Server and Data Center
  2. JRASERVER-60081

Project administrator cannot edit Project Lead

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Summary

      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.

      As of JIRA 7.2.0-OD-05, receiving the following Error when trying to change the Project Lead or Default Assignee as a Project Admin:

      Steps to Reproduce

      1. Create a project and grant the user Project Administration permission
      2. Login to the instance as the user and navigate to project settings > Users and Roles
      3. Click on "Edit Defaults"
      4. Change project lead to another user
      5. Click "Update"

      Expected Results

      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.

      Actual Results

      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:

      2016-03-04 17:28:28.883949500 2016-03-04 17:28:28,881 http-nio-2990-exec-227 DEBUG rfuerst 1048x24557x1 39fl15 4.15.43.214,10.85.161.148,127.0.0.1 /secure/project/EditProjectLeadAndDefaultAssignee.jspa [c.a.jira.security.WorkflowBasedPermissionManager] BROWSE_PROJECTS permission granted by permission scheme
      2016-03-04 17:28:28.883951500 2016-03-04 17:28:28,881 http-nio-2990-exec-227 DEBUG rfuerst 1048x24557x1 39fl15 4.15.43.214,10.85.161.148,127.0.0.1 /secure/project/EditProjectLeadAndDefaultAssignee.jspa [c.a.jira.security.WorkflowBasedPermissionManager] ADMINISTER_PROJECTS permission granted by permission scheme
      2016-03-04 17:28:28.883991500 2016-03-04 17:28:28,881 http-nio-2990-exec-227 DEBUG rfuerst 1048x24557x1 39fl15 4.15.43.214,10.85.161.148,127.0.0.1 /secure/project/EditProjectLeadAndDefaultAssignee.jspa [c.a.jira.security.WorkflowBasedPermissionManager] BROWSE_PROJECTS permission granted by permission scheme
      2016-03-04 17:28:28.883997500 2016-03-04 17:28:28,881 http-nio-2990-exec-227 DEBUG rfuerst 1048x24557x1 39fl15 4.15.43.214,10.85.161.148,127.0.0.1 /secure/project/EditProjectLeadAndDefaultAssignee.jspa [c.a.jira.security.WorkflowBasedPermissionManager] ADMINISTER_PROJECTS permission granted by permission scheme
      

      Workaround

      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.

      Attachments

        Issue Links

          Activity

            People

              apawelczyk Artur Pawelczyk
              rfuerst Rachel Fuerst (Inactive)
              Votes:
              34 Vote for this issue
              Watchers:
              57 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: