1GH-ISSUE-EDIT(1) GitHub CLI manual GH-ISSUE-EDIT(1)
2
3
4
6 gh-issue-edit - Edit an issue
7
8
9
11 gh issue edit {<number> | <url>} [flags]
12
13
14
16 --add-assignee <login>
17 Add assigned users by their login. Use "@me" to assign yourself.
18
19
20 --add-label <name>
21 Add labels by name
22
23
24 --add-project <name>
25 Add the issue to projects by name
26
27
28 -b, --body <string>
29 Set the new body.
30
31
32 -F, --body-file <file>
33 Read body text from file (use "-" to read from standard input)
34
35
36 -m, --milestone <name>
37 Edit the milestone the issue belongs to by name
38
39
40 --remove-assignee <login>
41 Remove assigned users by their login. Use "@me" to unassign
42 yourself.
43
44
45 --remove-label <name>
46 Remove labels by name
47
48
49 --remove-project <name>
50 Remove the issue from projects by name
51
52
53 -t, --title <string>
54 Set the new title.
55
56
57
59 -R, --repo <[HOST/]OWNER/REPO>
60 Select another repository using the [HOST/]OWNER/REPO format
61
62
63
65 $ gh issue edit 23 --title "I found a bug" --body "Nothing works"
66 $ gh issue edit 23 --add-label "bug,help wanted" --remove-label "core"
67 $ gh issue edit 23 --add-assignee "@me" --remove-assignee monalisa,hubot
68 $ gh issue edit 23 --add-project "Roadmap" --remove-project v1,v2
69 $ gh issue edit 23 --milestone "Version 1"
70 $ gh issue edit 23 --body-file body.txt
71
72
73
74
75
77 gh-issue(1)
78
79
80
81 Jun 2022 GH-ISSUE-EDIT(1)