简体   繁体   English

如何在 github 的里程碑中添加新问题?

[英]How to add new issue to a milestone in github?

In my private github repository, I've created a new milestone.在我的私人 github 存储库中,我创建了一个新的里程碑。 I want to add new issues to it.我想向它添加新问题。

在此处输入图像描述

I click on New issue button but it redirects to the following page:我单击新问题按钮,但它重定向到以下页面: 在此处输入图像描述

What should I do?我应该怎么办?

As a workaround, check if using the GitHub CLI gh would help.作为一种解决方法,检查使用GitHub CLI gh是否会有所帮助。

From Creating an issue with GitHub CLI :使用 GitHub CLI 创建问题

To create an issue, use the gh issue create subcommand.要创建问题,请使用gh issue create子命令。
To skip the interactive prompts, include the --body and the --title flags.要跳过交互式提示,请包含--body--title标志。

 gh issue create --title "My new issue" --body "Here are more details."

You can also specify assignees, labels, milestones, and projects.您还可以指定受让人、标签、里程碑和项目。

 gh issue create --title "My new issue" --body "Here are more details." \ --assignee @me,monalisa --label "bug,help wanted" \ --project onboarding --milestone "learning codebase"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM