Skip to content

Add the draft option to the Merge Request creation#1311

Open
mhagnumdw wants to merge 2 commits intogitlab4j:mainfrom
mhagnumdw:create-draft-mr
Open

Add the draft option to the Merge Request creation#1311
mhagnumdw wants to merge 2 commits intogitlab4j:mainfrom
mhagnumdw:create-draft-mr

Conversation

@mhagnumdw
Copy link
Contributor

The GitLab API does not provide a draft parameter (wip or similar) to create a draft Merge Request, see the documentation: https://docs.gitlab.com/api/merge_requests/#create-a-merge-request

The intention here is to make using the Merge Request creation API more fluid by adding the draft option.

@mhagnumdw mhagnumdw marked this pull request as ready for review February 6, 2026 12:07
@mhagnumdw
Copy link
Contributor Author

@jmini, could you please take a look at this PR? Let me know about anything.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is useful for those who use asdf. If you prefer, I can remove it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant