Issue Summary
Using API (PUT or PATCH) allows to add of archived Program increments to Epics/Themes which is not allowed in the UI.
This is reproducible : (yes)
Steps to Reproduce
- Archive a PI
- Open a Theme or Epic, and try to Add the Archived PI to it; you will note you can't see it in the list
- Now Use the API update Theme or the Epic Release ID field with the archived PI ID and use a PUT or patch
- Note that the archived one will be set to the Theme/Epic and it'll show in the UI too
Expected Results
not be able to add archived PIs in a Theme and Epic using API
Actual Results
We are currently able to add archived PIs in a Theme and Epic using API
...
Workaround
Currently there is no known workaround for this behavior.