Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-25771

Single user with permission to Link Issues for a Project, is not allowed to Link Issues.

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

      1. As an Admin for a particular project 'PROJ1', I gave 'Link Issues' permission to a single user - X.
      2. Single User X can Create Issues but cannot Edit issues.
      3. When User X Tries to Link Issues, gets an error that he does not have permission to do.

        1. cantlink.png
          cantlink.png
          24 kB
        2. permission-given.png
          permission-given.png
          11 kB

            [JRASERVER-25771] Single user with permission to Link Issues for a Project, is not allowed to Link Issues.

            Verified the fix on master.

            The expected behaviour after the fix is as follows:

            1. Given an issue, if the user has no edit permissions but does have link issue permissions, he should be able to add and remove issue links from the issue

            2. Conversely, If a user has edit permission over an issue but no link issue permissions, he should not be able to add/remove links and the edit/create/transition screens should not display the issue linking system field

            This was tested successfully against the UI and also using the resources in the JIRA REST API.

            Oswaldo Hernandez (Inactive) added a comment - - edited Verified the fix on master. The expected behaviour after the fix is as follows: 1. Given an issue, if the user has no edit permissions but does have link issue permissions, he should be able to add and remove issue links from the issue 2. Conversely, If a user has edit permission over an issue but no link issue permissions, he should not be able to add/remove links and the edit/create/transition screens should not display the issue linking system field This was tested successfully against the UI and also using the resources in the JIRA REST API.

            This bug can also manifest itself the other way around:
            1. Create user that can edit issues, but does not have permission to link issues
            2. Observe as this user can link issues using the Linked Issues system field.

            Pawel Bugalski (Inactive) added a comment - This bug can also manifest itself the other way around: 1. Create user that can edit issues, but does not have permission to link issues 2. Observe as this user can link issues using the Linked Issues system field.

            I have the same problem. I have given Link Issue permission to the User role of my projects (basically, everyone). Users can therefore link issues to other issues using the "Link" action.
            However, they cannot link issues during transitions (using the "Linked Issues" pseudo-field in the transition screen).
            Of course, I have also removed the "Edit" permission from almost everybody - "Edit" is way too dangerous, I prefer to create a pseudo-transition that allows users to edit just the fields that are safe to edit.

            This is the second time I run into a bug related to my users not having the "Edit" permission. The other bug is in GreenHopper, which doesn't allow users to "schedule" issues (i.e. drag&drop them onto versions in the planning board) when they don't have the Edit permission.
            You should really test Jira in a configuration where not everyone has the Edit permission.

            David Fischer added a comment - I have the same problem. I have given Link Issue permission to the User role of my projects (basically, everyone). Users can therefore link issues to other issues using the "Link" action. However, they cannot link issues during transitions (using the "Linked Issues" pseudo-field in the transition screen). Of course, I have also removed the "Edit" permission from almost everybody - "Edit" is way too dangerous, I prefer to create a pseudo-transition that allows users to edit just the fields that are safe to edit. This is the second time I run into a bug related to my users not having the "Edit" permission. The other bug is in GreenHopper, which doesn't allow users to "schedule" issues (i.e. drag&drop them onto versions in the planning board) when they don't have the Edit permission. You should really test Jira in a configuration where not everyone has the Edit permission.

              edalgliesh Eric Dalgliesh
              pcherukuri Panna (Inactive)
              Affected customers:
              4 This affects my team
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: