gitlab4j-api icon indicating copy to clipboard operation
gitlab4j-api copied to clipboard

Add Merge Request filter for draft similar to WIP

Open javydreamercsw opened this issue 5 years ago • 0 comments

Recently Draft was introduced to Gitlab but there is no way to filter for it like WIP currently.

new MergeRequestFilter()
                              .withProjectId(project.getId())
                              .withState(MergeRequestState.OPENED)
                              .withWip(false)

Ideally it would be similar:

new MergeRequestFilter()
                              .withProjectId(project.getId())
                              .withState(MergeRequestState.OPENED)
                              .withWip(false)
                              .withDraft(false)

javydreamercsw avatar Oct 05 '20 13:10 javydreamercsw