Description
Issue Summary
Deleted portfolio and program teams are returned in a users GET method.
Steps to Reproduce
- Create a Program/Portfolio
- Assign the Program/Portfolio team to a user.
- Delete the Program/Portfolio
- 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