-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 11.7.1, 11.8.0
-
Component/s: Time - Program Increments
-
1
-
Severity 3 - Minor
-
No
Issue Summary
If a user attempts to add a program to a PI, as a Portfolio member of both the program and the PI, via API, they get the following error: "Cannot update release with id # . Value for programIds is invalid."" User can add the same program to the PI via UI without issue. User can only add programs to the PI via API if they are a direct member of all program teams contained in the PI.
This is reproducible on Data Center: Yes
Steps to Reproduce
- Authenticate to API with user token that is not a super admin or a direct program member to all teams, but is a portfolio member of both PI and Program.
- Run PATCH operation on target PI to add Program.
Example payload:PATCH https://alignsupport.jiraalign.com/rest/align/api/2/Releases/10 [ { "op":"add", "path":"programIds/-", "value": 200 } ]
Expected Results
PI is updated with additional program via API.
Actual Results
Error "Cannot update release with id # . Value for programIds is invalid." occurs
Workaround
If the end user is placed into all Program teams contained in the PI, they can add to the PI via API without issue. Alternatively, you can add programs via the UI.