1GH-ISSUE-CREATE(1) GitHub CLI manual GH-ISSUE-CREATE(1)
2
3
4
6 gh-issue-create - Create a new issue
7
8
9
11 gh issue create [flags]
12
13
14
16 -a, --assignee <login>
17 Assign people by their login. Use "@me" to self-assign.
18
19
20 -b, --body <string>
21 Supply a body. Will prompt for one otherwise.
22
23
24 -F, --body-file <file>
25 Read body text from file (use "-" to read from standard input)
26
27
28 -l, --label <name>
29 Add labels by name
30
31
32 -m, --milestone <name>
33 Add the issue to a milestone by name
34
35
36 -p, --project <name>
37 Add the issue to projects by name
38
39
40 --recover <string>
41 Recover input from a failed run of create
42
43
44 -t, --title <string>
45 Supply a title. Will prompt for one otherwise.
46
47
48 -w, --web
49 Open the browser to create an issue
50
51
52
54 -R, --repo <[HOST/]OWNER/REPO>
55 Select another repository using the [HOST/]OWNER/REPO format
56
57
58
60 $ gh issue create --title "I found a bug" --body "Nothing works"
61 $ gh issue create --label "bug,help wanted"
62 $ gh issue create --label bug --label "help wanted"
63 $ gh issue create --assignee monalisa,hubot
64 $ gh issue create --assignee "@me"
65 $ gh issue create --project "Roadmap"
66
67
68
69
70
72 gh-issue(1)
73
74
75
76 Jun 2022 GH-ISSUE-CREATE(1)