Open
Description
I enjoy the stacked branches feature, now that PRs landed on GitLab I can see a missing feature compared to what I used to do in the past when I had to create my merge requests manually.
In GitLab (Premium and Ultimate) you can declare merge request dependencies. When creating a stack I set each MR as depending on the one before.
The effect of this is that you must merge the stack from the bottom, and as you merge each MR, the next one will automatically change its target branch from the previous MR to the default branch.
MR dependencies can be set with a simple API call and it will return a 403 error if the project doesn't have at least a Premium license.