Skip to content

Set draft status field before saving MR record

What does this MR do?

Our existing code un/marks an MR as a draft by adding/removing "Draft: " from the title. We shouldn't touch that, but we do want to keep track of this in the DB (which is why I previously added the draft boolean column in !61681 (merged))

Getting this merged in before we attempt to deploy a migration task to update this field for open MRs will help reduce our target area, and ensure consistency.

Related to #330275 (closed)

Edited by Kerri Miller

Merge request reports

Loading