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
feat(issue-fields): support issue_fields in issue_write using fullDatabaseId
- Expose fullDatabaseId (BigInt) in list_issue_fields
- Add issue_fields parameter to issue_write for setting field values
- Support single-select fields via field_option_name resolution
- Add REST API field value extraction in get_issue responses
- Update minimal types with IssueFieldValue for REST responses
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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. Each item requires field_name and either value or field_option_name. field_option_name is for single-select fields and is resolved to the corresponding option ID automatically. (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. Each item requires field_name and either value or field_option_name. field_option_name is for single-select fields and is resolved to the corresponding option ID automatically. (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. Each item requires field_name and either value or field_option_name. field_option_name is for single-select fields and is resolved to the corresponding option ID automatically. (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
+23Lines changed: 23 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,29 @@
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. Each item requires field_name and either value or field_option_name. field_option_name is for single-select fields and is resolved to the corresponding option ID automatically.",
34
+
"items": {
35
+
"properties": {
36
+
"field_name": {
37
+
"description": "Issue field name",
38
+
"type": "string"
39
+
},
40
+
"field_option_name": {
41
+
"description": "Single-select option name to resolve and set for the field",
42
+
"type": "string"
43
+
},
44
+
"value": {
45
+
"description": "Value for text/number/date/single-select fields. For single-select, you can use field_option_name instead."
0 commit comments