Skip to content

Commit 9fa8dce

Browse files
authored
Clarify issue type field description for repo-scoped list_issue_types
1 parent 096cdb5 commit 9fa8dce

6 files changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ The following sets of tools are available:
872872
- `state`: New state (string, optional)
873873
- `state_reason`: Reason for the state change. Ignored unless state is changed. (string, optional)
874874
- `title`: Issue title (string, optional)
875-
- `type`: Type of this issue. Only use if the repository has issue types configured. Use list_issue_types tool to get valid type values for the organization. If the repository doesn't support issue types, omit this parameter. (string, optional)
875+
- `type`: Type of this issue. Only use if issue types are enabled for this repository. Use list_issue_types tool to get valid type values for this repository or its owner organization. If the repository doesn't support issue types, omit this parameter. (string, optional)
876876

877877
- **list_issue_types** - List available issue types
878878
- **Required OAuth Scopes (any of)**: `repo`, `read:org`

docs/feature-flags.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ runtime behavior (such as output formatting) won't appear here.
6969
- `state`: New state (string, optional)
7070
- `state_reason`: Reason for the state change. Ignored unless state is changed. (string, optional)
7171
- `title`: Issue title (string, optional)
72-
- `type`: Type of this issue. Only use if the repository has issue types configured. Use list_issue_types tool to get valid type values for the organization. If the repository doesn't support issue types, omit this parameter. (string, optional)
72+
- `type`: Type of this issue. Only use if issue types are enabled for this repository. Use list_issue_types tool to get valid type values for this repository or its owner organization. If the repository doesn't support issue types, omit this parameter. (string, optional)
7373

7474
### `remote_mcp_issue_fields`
7575

@@ -92,7 +92,7 @@ runtime behavior (such as output formatting) won't appear here.
9292
- `state`: New state (string, optional)
9393
- `state_reason`: Reason for the state change. Ignored unless state is changed. (string, optional)
9494
- `title`: Issue title (string, optional)
95-
- `type`: Type of this issue. Only use if the repository has issue types configured. Use list_issue_types tool to get valid type values for the organization. If the repository doesn't support issue types, omit this parameter. (string, optional)
95+
- `type`: Type of this issue. Only use if issue types are enabled for this repository. Use list_issue_types tool to get valid type values for this repository or its owner organization. If the repository doesn't support issue types, omit this parameter. (string, optional)
9696

9797
- **list_issue_fields** - List issue fields
9898
- **Required OAuth Scopes (any of)**: `repo`, `read:org`

docs/insiders-features.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The list below is generated from the Go source. It covers tool **inventory and s
6363
- `state`: New state (string, optional)
6464
- `state_reason`: Reason for the state change. Ignored unless state is changed. (string, optional)
6565
- `title`: Issue title (string, optional)
66-
- `type`: Type of this issue. Only use if the repository has issue types configured. Use list_issue_types tool to get valid type values for the organization. If the repository doesn't support issue types, omit this parameter. (string, optional)
66+
- `type`: Type of this issue. Only use if issue types are enabled for this repository. Use list_issue_types tool to get valid type values for this repository or its owner organization. If the repository doesn't support issue types, omit this parameter. (string, optional)
6767

6868
### `remote_mcp_issue_fields`
6969

@@ -86,7 +86,7 @@ The list below is generated from the Go source. It covers tool **inventory and s
8686
- `state`: New state (string, optional)
8787
- `state_reason`: Reason for the state change. Ignored unless state is changed. (string, optional)
8888
- `title`: Issue title (string, optional)
89-
- `type`: Type of this issue. Only use if the repository has issue types configured. Use list_issue_types tool to get valid type values for the organization. If the repository doesn't support issue types, omit this parameter. (string, optional)
89+
- `type`: Type of this issue. Only use if issue types are enabled for this repository. Use list_issue_types tool to get valid type values for this repository or its owner organization. If the repository doesn't support issue types, omit this parameter. (string, optional)
9090

9191
- **list_issue_fields** - List issue fields
9292
- **Required OAuth Scopes (any of)**: `repo`, `read:org`

pkg/github/__toolsnaps__/issue_write.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"type": "string"
8383
},
8484
"type": {
85-
"description": "Type of this issue. Only use if the repository has issue types configured. Use list_issue_types tool to get valid type values for the organization. If the repository doesn't support issue types, omit this parameter.",
85+
"description": "Type of this issue. Only use if issue types are enabled for this repository. Use list_issue_types tool to get valid type values for this repository or its owner organization. If the repository doesn't support issue types, omit this parameter.",
8686
"type": "string"
8787
}
8888
},

pkg/github/__toolsnaps__/issue_write_ff_remote_mcp_issue_fields.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
"type": "string"
119119
},
120120
"type": {
121-
"description": "Type of this issue. Only use if the repository has issue types configured. Use list_issue_types tool to get valid type values for the organization. If the repository doesn't support issue types, omit this parameter.",
121+
"description": "Type of this issue. Only use if issue types are enabled for this repository. Use list_issue_types tool to get valid type values for this repository or its owner organization. If the repository doesn't support issue types, omit this parameter.",
122122
"type": "string"
123123
}
124124
},

pkg/github/issues.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1897,7 +1897,7 @@ Options are:
18971897
},
18981898
"type": {
18991899
Type: "string",
1900-
Description: "Type of this issue. Only use if the repository has issue types configured. Use list_issue_types tool to get valid type values for the organization. If the repository doesn't support issue types, omit this parameter.",
1900+
Description: "Type of this issue. Only use if issue types are enabled for this repository. Use list_issue_types tool to get valid type values for this repository or its owner organization. If the repository doesn't support issue types, omit this parameter.",
19011901
},
19021902
"state": {
19031903
Type: "string",
@@ -2171,7 +2171,7 @@ Options are:
21712171
},
21722172
"type": {
21732173
Type: "string",
2174-
Description: "Type of this issue. Only use if the repository has issue types configured. Use list_issue_types tool to get valid type values for the organization. If the repository doesn't support issue types, omit this parameter.",
2174+
Description: "Type of this issue. Only use if issue types are enabled for this repository. Use list_issue_types tool to get valid type values for this repository or its owner organization. If the repository doesn't support issue types, omit this parameter.",
21752175
},
21762176
"state": {
21772177
Type: "string",

0 commit comments

Comments
 (0)