Skip to content

non-interactive issue create with template #7405

@Gray-Wind

Description

@Gray-Wind

Describe the feature or problem you’d like to solve

I am trying to create a special templated issue from the CI with some checklists on release. We have already set up templates, which we are using now manually, but it would be really good to open them automatically.

With gh I can create a templated issue with gh issue create -T "template name" --title "some title" and it asks me to modify body (I do not want to do so, it is just a checklist to deal with it later). Also it asks what to do upon creation (add metadata, open in browser), which should be possible to skip.

Proposed solution

The last confirmation step is called submit, the option could have the same name to reflect the action.

Full CI command will look like

gh issue create --template "template name" --title "issue title" --submit

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreThis issue is not accepting PRs from outside contributorsenhancementa request to improve CLIgh-issuerelating to the gh issue command

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions