1GH-ISSUE-EDIT(1)               GitHub CLI manual              GH-ISSUE-EDIT(1)
2
3
4

NAME

6       gh-issue-edit - Edit issues
7
8
9

SYNOPSIS

11       gh issue edit {<numbers> | <urls>} [flags]
12
13
14

DESCRIPTION

16       Edit one or more issues within the same repository.
17
18
19       Editing  issues'  projects  requires  authorization  with the "project"
20       scope.  To authorize, run "gh auth refresh -s project".
21
22
23

OPTIONS

25       --add-assignee <login>
26              Add assigned users by their login. Use "@me" to assign yourself.
27
28
29       --add-label <name>
30              Add labels by name
31
32
33       --add-project <name>
34              Add the issue to projects by name
35
36
37       -b, --body <string>
38              Set the new body.
39
40
41       -F, --body-file <file>
42              Read body text from file (use "-" to read from standard input)
43
44
45       -m, --milestone <name>
46              Edit the milestone the issue belongs to by name
47
48
49       --remove-assignee <login>
50              Remove assigned users by their  login.  Use  "@me"  to  unassign
51              yourself.
52
53
54       --remove-label <name>
55              Remove labels by name
56
57
58       --remove-project <name>
59              Remove the issue from projects by name
60
61
62       -t, --title <string>
63              Set the new title.
64
65
66

OPTIONS INHERITED FROM PARENT COMMANDS

68       -R, --repo <[HOST/]OWNER/REPO>
69              Select another repository using the [HOST/]OWNER/REPO format
70
71
72

EXAMPLE

74       $ gh issue edit 23 --title "I found a bug" --body "Nothing works"
75       $ gh issue edit 23 --add-label "bug,help wanted" --remove-label "core"
76       $ gh issue edit 23 --add-assignee "@me" --remove-assignee monalisa,hubot
77       $ gh issue edit 23 --add-project "Roadmap" --remove-project v1,v2
78       $ gh issue edit 23 --milestone "Version 1"
79       $ gh issue edit 23 --body-file body.txt
80       $ gh issue edit 23 34 --add-label "help wanted"
81
82
83
84
85

SEE ALSO

87       gh-issue(1)
88
89
90
91                                   Nov 2023                   GH-ISSUE-EDIT(1)
Impressum