-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 10.123.3
-
Component/s: REST API
-
1
-
Severity 2 - Major
-
No
Issue Summary
When an Epic is canceled or deleted, and we fetch the item over API, the primaryProgramId shows up as null.
Steps to Reproduce
Epics
- Create an Epic and perform a GET operation on its ID
- Notice that the primaryProgramId and other fields are present.
- On the UI, click on Delete in the Epic grid slide-out.
- Perform a GET operation on its ID again, and notice the primaryProgramId is set to null.
{ "id": 3525, "title": "SSR_Epic3", "createDate": "2023-03-07T08:28:41Z", "ownerId": "661767", "themeId": 324, "strategicDriver": null, "description": "Test", "primaryProgramId": null, .. .. "isRecycled": 1, .. .. "isCanceled": null, "featureIds": [], "health": null, "status": null, "customFields": null, "links": [], "self": "https://alignsupport.jiraalign.com/rest/align/api/2/epics/3525" }
Features
- Create a Feature and perform a GET operation on its ID
{ "id": 10700, "title": "Created through API", "description": "string", "releaseId": 407, "ownerId": "661767", "state": 2, "createDate": "2022-07-15T05:33:08Z", "type": 1, "mmf": 0, "isBlocked": 0, "priority": 1, "primaryProgramId": 255, "productId": 37, "isMultiProgram": 0, }
- Notice that the primaryProgramId and other fields are present.
- On the UI, click on Delete in the Feature grid slide-out.
- Perform a GET operation on its ID again, and notice the primaryProgramId is NOT set to null.
{ "id": 10700, "title": "Created through API", "description": "string", "releaseId": -2, "ownerId": "661767", "state": 2, "createDate": "2022-07-15T05:33:08Z", "type": 1, "mmf": 0, "isBlocked": 0, "priority": 1, "primaryProgramId": 255, "productId": 37, "isMultiProgram": 0, "themeId": null, .. .. "isRecycled": 1, .. .. "isCanceled": null, }
Expected Results
- Epics and Features exhibit the same behaviour when performing a GET call on deleted items
Actual Results
- Epics don't return the primaryProgramId and Features returns a valid primaryProgramId
Workaround
Currently, there is no known workaround for this behavior. A workaround will be added here when available
- is connected to
-
JAIAC-4020 Loading...
- resolves
-
PS-138715 Loading...