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
* Add custom field filtering to list_issues
* Flatten schema
* add repo fields flag
* test fix
---------
Co-authored-by: Sam Morrow <sammorrowdrums@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
@@ -885,6 +885,7 @@ The following sets of tools are available:
885
885
-**Required OAuth Scopes**: `repo`
886
886
-`after`: Cursor for pagination. Use the endCursor from the previous page's PageInfo for GraphQL APIs. (string, optional)
887
887
-`direction`: Order direction. If provided, the 'orderBy' also needs to be provided. (string, optional)
888
+
-`field_filters`: Filter by custom issue field values. Each entry takes a field_name and a value; the server looks up the field and coerces the value to its type (single-select option name, text, number, or YYYY-MM-DD date). (object[], optional)
888
889
-`labels`: Filter by labels (string[], optional)
889
890
-`orderBy`: Order issues by field. If provided, the 'direction' also needs to be provided. (string, optional)
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/list_issues.snap
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,27 @@
18
18
],
19
19
"type": "string"
20
20
},
21
+
"field_filters": {
22
+
"description": "Filter by custom issue field values. Each entry takes a field_name and a value; the server looks up the field and coerces the value to its type (single-select option name, text, number, or YYYY-MM-DD date).",
23
+
"items": {
24
+
"properties": {
25
+
"field_name": {
26
+
"description": "Name of the custom field (e.g. \"Priority\"). Case-insensitive.",
27
+
"type": "string"
28
+
},
29
+
"value": {
30
+
"description": "Value to filter on. For single-select fields, the option name (e.g. \"P1\"). For dates, YYYY-MM-DD. For numbers, the numeric value as a string. For text, the text value.",
0 commit comments