[JIRAALIGN-1940] API 2.0: Deleted Program and Portfolio teams are still linked to a user.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 10.79
    • Affects Version/s: 10.76
    • Component/s: REST API
    • None
    • 1
    • Severity 3 - Minor
    • Batman! - TART5
    • None

      Issue Summary

      Deleted portfolio and program teams are returned in a users GET method.

      Steps to Reproduce

      1. Create a Program/Portfolio
      2. Assign the Program/Portfolio team to a user.
      3. Delete the Program/Portfolio
      4. Use API 2.0 GET method to retrieve the users information.

      Expected Results

      The deleted Program/Portfolio team should not be reflected on the users team information via API.

      Actual Results

      The deleted teams are still linked on the users teams list via API with NULL values.

        "isComplianceManager": false,
        "createDate": "2020-08-04T22:38:25Z",
        "lastModified": "2020-08-19T02:36:09Z",
        "teams": [
          {
            "teamId": 144,
            "teamName": null,
            "teamType": null,
            "roleId": 12,
            "roleName": "TeamOfTeam"
          },
          {
            "teamId": 145,
            "teamName": null,
            "teamType": null,
            "roleId": 12,
            "roleName": "TeamOfTeam"
          },
          {
            "teamId": 146,
            "teamName": null,
            "teamType": null,
            "roleId": 12,
            "roleName": "TeamOfTeam"
          }
        ],
      

      Note: These deleted teams are not visible via the users's teams tab. It's only indicated on the users GET response information. This also does not occur if the deleted team is an Agile/Kanban team.

      Workaround

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

            Assignee:
            Kyle Foreman
            Reporter:
            Leo.Soronio
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: