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

Getting 'mypermissions' from JIRA REST returns haspermission:false for all permissions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • None
    • REST API
    • None

    Description

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

      If you attempt to get the /rest/api/2/mypermissions response from JIRA, it returns false for all permissions, even though user has sufficient privileges.

      Reproduce

      curl -U user:password https://instance/rest/api/2/mypermissions

      returns

      {"permissions":{"DELETE_OWN_WORKLOGS":{"id":"42","key":"DELETE_OWN_WORKLOGS","name":"Delete Own Worklogs","type":"PROJECT","description":"Ability to delete own worklogs made on issues.","havePermission":false},"CREATE_ISSUES":
      

      Where "havePermission":false exists for all permissions listed.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dnicholson David Nicholson (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: