when using Get all permission schemes endpoint no information about scope is returned for permission schemes for soft deleted team managed projects

XMLWordPrintable

    • 1
    • Severity 3 - Minor
    • 1

      Issue Summary

      When using /rest/api/3/permissionscheme api for soft deleted team managed project the information about scope is missing

      Steps to Reproduce

      1. Create team managed project
      2. Soft delete team managed project (use https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects/#api-rest-api-3-project-projectidorkey-delete with enableUndo=true)
      3. query for permission schemes using https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permission-schemes/#api-rest-api-3-permissionscheme-get

      Expected Results

      The permission scheme data for soft deleted team managed project should contain information about scope eg.

       {
                  "expand": "permissions,user,group,projectRole,field,all",
                  "id": 10009,
                  "self": "https://atl-vertigo--jira-jira-branch-tkanafa--2.jira-dev.com/rest/api/3/permissionscheme/10009",
                  "name": "TES: Simplified Permission Scheme",
                  "scope": {
                      "type": "PROJECT",
                      "project": {
                          "id": "10005"
                      }
                  },
                  "permissions": [

      Actual Results

      the scope field/information is not present

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Unassigned
              Reporter:
              Tomasz Kanafa
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: