[go: up one dir, main page]

Add create MR to work item branch

What does this MR do and why?

When work items have related branches, and user can author MRs, show an action to create an MR for that branch. This is one simple route to providing support for creating MRs for existing branches from a work item, in addition to existing support for creating MRs with new branches.

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
When can author MR image.png image.png
When cannot author MR image.png image.png
Full flow branchmr.gif

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Open a task in a project with a repo
  2. Create a branch from the task (dropdown in Create Merge Request)
  3. Refresh the page to see the branch
  4. Open the branch actions menu and select "Create merge request"
  5. Finish creating the MR and return to the task, you should no longer see a branch and instead see the MR

Related to #519655 (closed)

Edited by Nick Leonard

Merge request reports

Loading