Update issue parent epic does not work on REST API
Summary
Setting parent epic on api does not work with epic_iid
parameter.
epic_iid
is listed on documentation as accepted paremeter https://docs.gitlab.com/ee/api/issues.html#edit-issue.
It works fine with epic_id
.
Steps to reproduce
Try to use the API to assign an epic as parent of the issue.
I used this sample epic: https://gitlab.com/groups/issue-reproduce/-/epics/7
With this sample issue: issue-reproduce/upload-a-file#1
curl --request PUT --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.com/api/v4/projects/18457959/issues/1?epic_iid=7
What is the current bug behavior?
The request hangs until timeout.
What is the expected correct behavior?
Issue parent epic should be updated.
Additional information
If you use epic_id
the request works fine. I am not sure if this is a performance problem
or a bug on code.
Edited by Felipe Artur