Rebase a branch onto a different parent branch (as a new branch)
Replays this branch’s changes onto a different base and returns the result as a NEW branch; the branch named in the path is not modified. The copy keeps this branch’s value for every field it changed and resolves every field it did not from the new base. Changes to items the new base does not have cannot appear on the copy: relationships to them are left out, and the items are listed in missing_items. The copy carries this branch’s own comments, re-keyed to the copy, except a thread on an item the new base does not have and a reply to a thread that is not in the copy’s lineage; a comment inherited from the old base stays there. Its sub-branches, baselines, and reviews are not copied. Refuses with 400 for the Base branch, a malformed id, a missing newParentId, or a target equal to the branch itself; 404 when either branch is not live in this project.
Authorizations
Headers
Workspace identifier
Path Parameters
Project UUID, not a slug. Resolve a slug with GET /project/slug/{slug} using the same workspace and credentials, then pass the returned id.
Body
Response
How many such items there are in total.
Items this branch changes or links to that the new base does not have, so those changes do not appear on the new branch. Lists at most 50, in the order the branch first changed them.