You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -855,6 +855,7 @@ The following sets of tools are available:
855
855
-`assignees`: Usernames to assign to this issue (string[], optional)
856
856
-`body`: Issue body content (string, optional)
857
857
-`duplicate_of`: Issue number that this issue is a duplicate of. Only used when state_reason is 'duplicate'. (number, optional)
858
+
-`issue_fields`: Issue field values to set or clear. Each item requires 'field_name' and exactly one of 'value', 'field_option_name', or 'delete: true'. (object[], optional)
858
859
-`issue_number`: Issue number to update (number, optional)
859
860
-`labels`: Labels to apply to this issue (string[], optional)
860
861
-`method`: Write operation to perform on a single issue.
-`assignees`: Usernames to assign to this issue (string[], optional)
57
57
-`body`: Issue body content (string, optional)
58
58
-`duplicate_of`: Issue number that this issue is a duplicate of. Only used when state_reason is 'duplicate'. (number, optional)
59
+
-`issue_fields`: Issue field values to set or clear. Each item requires 'field_name' and exactly one of 'value', 'field_option_name', or 'delete: true'. (object[], optional)
59
60
-`issue_number`: Issue number to update (number, optional)
60
61
-`labels`: Labels to apply to this issue (string[], optional)
61
62
-`method`: Write operation to perform on a single issue.
Copy file name to clipboardExpand all lines: docs/insiders-features.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,7 @@ The list below is generated from the Go source. It covers tool **inventory and s
50
50
-`assignees`: Usernames to assign to this issue (string[], optional)
51
51
-`body`: Issue body content (string, optional)
52
52
-`duplicate_of`: Issue number that this issue is a duplicate of. Only used when state_reason is 'duplicate'. (number, optional)
53
+
-`issue_fields`: Issue field values to set or clear. Each item requires 'field_name' and exactly one of 'value', 'field_option_name', or 'delete: true'. (object[], optional)
53
54
-`issue_number`: Issue number to update (number, optional)
54
55
-`labels`: Labels to apply to this issue (string[], optional)
55
56
-`method`: Write operation to perform on a single issue.
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/issue_write.snap
+36Lines changed: 36 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,42 @@
29
29
"description": "Issue number that this issue is a duplicate of. Only used when state_reason is 'duplicate'.",
30
30
"type": "number"
31
31
},
32
+
"issue_fields": {
33
+
"description": "Issue field values to set or clear. Each item requires 'field_name' and exactly one of 'value', 'field_option_name', or 'delete: true'.",
34
+
"items": {
35
+
"additionalProperties": false,
36
+
"properties": {
37
+
"delete": {
38
+
"description": "Set to true to clear this field's current value on the issue. Cannot be combined with 'value' or 'field_option_name'.",
39
+
"enum": [
40
+
true
41
+
],
42
+
"type": "boolean"
43
+
},
44
+
"field_name": {
45
+
"description": "Issue field name (case-insensitive). Must match a field returned by list_issue_fields for this repository or its organization.",
46
+
"type": "string"
47
+
},
48
+
"field_option_name": {
49
+
"description": "Option name for single-select fields. Validated against the field's options before the API call. Cannot be combined with 'value' or 'delete'.",
50
+
"type": "string"
51
+
},
52
+
"value": {
53
+
"description": "Value to set. Use for text, number, and date fields (date as YYYY-MM-DD). For single-select fields, prefer 'field_option_name' so the option is validated before the API call. Cannot be combined with 'field_option_name' or 'delete'.",
0 commit comments