glab icon indicating copy to clipboard operation
glab copied to clipboard

400 {message: {target_branch: [can't be blank, is invalid]}}

Open bodqhrohro opened this issue 3 years ago • 4 comments

Description

@bq:02:01:02:/media/d/temp/git/signald-go$ glab mr create -R signald/signald-go
? Choose a template Open a blank merge request
? Title: Add account set-profile command
? Description <Received>
? What's next? Submit

Creating merge request for set-profile into  in signald/signald-go

POST https://gitlab.com/api/v4/projects/bodqhrohro/signald-go/merge_requests: 400 {message: {target_branch: [can't be blank, is invalid]}}

Expected Behavior vs Actual Behavior Should work successfully, still something is missing. It also does not seem to automate the fork-push-mr pipeline, unlike gh, so I had to issue glab repo fork and git push -u origin set-profile manually before.

Possible Fix

Steps to Reproduce

Logs

Your Environment

  • Version used (Run glab --version): glab version DEV (glab-1.18.1 from Nix)
  • Operating System and version: Debian 11

bodqhrohro avatar Aug 25 '21 23:08 bodqhrohro

Also still relevant on 1.20.0.

bodqhrohro avatar Aug 27 '21 11:08 bodqhrohro

This issue has been automatically marked as stale because it has not had recent activity. We haven't had the time to address it yet, but we want to keep it open. This message is just a reminder for us to help triage issues.

clemsbot avatar Sep 27 '21 02:09 clemsbot

Version 1.22 is also affected Gitlab Version: 14.10.0

volker-schukai avatar May 02 '22 00:05 volker-schukai

This issue has been automatically marked as stale because it has not had recent activity. We haven't had the time to address it yet, but we want to keep it open. This message is just a reminder for us to help triage issues.

clemsbot avatar Jun 01 '22 03:06 clemsbot