profclems / glab

The GitLab CLI tool. Archived: now officially adopted by GitLab as the official CLI tool and maintained at https://gitlab.com/gitlab-org/cli. See https://github.com/profclems/glab/issues/983
https://glab.readthedocs.io/
MIT License
2.08k stars 163 forks source link

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

Open bodqhrohro opened 3 years ago

bodqhrohro commented 3 years ago

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

bodqhrohro commented 3 years ago

Also still relevant on 1.20.0.

clemsbot commented 3 years ago

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.

volker-schukai commented 2 years ago

Version 1.22 is also affected Gitlab Version: 14.10.0

clemsbot commented 2 years ago

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.