a589920d1a
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Build and Test Go Project / build (macos-latest) (push) Has been cancelled
Build and Test Go Project / build (ubuntu-latest) (push) Has been cancelled
Build and Test Go Project / build (windows-latest) (push) Has been cancelled
Resolves conflicts from merging origin/main into the multi-select branch. main added the `fields_param` feature which also split `list_issues` into flag-gated variants, colliding with this branch's `remote_mcp_issue_fields_multiselect` split. Rather than gate `list_issues` on two independent flags (which the inventory's single FeatureFlagEnable can't express for the "both on" case), the multi-select feature flag is removed entirely — multi-select is now unconditional, matching the already-unconditional read paths: - issue_write / list_issue_fields collapse to their single multi-select-aware variant; the legacy siblings and issues_legacy_multiselect.go are deleted - list_issues adopts main's fields_param split (ListIssues / LegacyListIssues) with the multi-select `values` slot always advertised - optionalIssueWriteFields / resolveIssueRequestFieldValues / parseRawFieldFilters drop the now-constant multiSelectEnabled bool and their dead single-select-only branches - FeatureFlagIssueFieldsMultiSelect const, allowlist and insiders entries removed - toolsnaps + generated docs regenerated Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
142 lines
4.6 KiB
Plaintext
142 lines
4.6 KiB
Plaintext
{
|
|
"_meta": {
|
|
"ui": {
|
|
"resourceUri": "ui://github-mcp-server/issue-write",
|
|
"visibility": [
|
|
"model",
|
|
"app"
|
|
]
|
|
}
|
|
},
|
|
"annotations": {
|
|
"idempotentHint": false,
|
|
"readOnlyHint": false,
|
|
"title": "Create or update issue/pull request"
|
|
},
|
|
"description": "Create a new or update an existing issue in a GitHub repository.",
|
|
"inputSchema": {
|
|
"properties": {
|
|
"assignees": {
|
|
"description": "Usernames to assign to this issue",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"body": {
|
|
"description": "Issue body content",
|
|
"type": "string"
|
|
},
|
|
"duplicate_of": {
|
|
"description": "Issue number that this issue is a duplicate of. Only used when state_reason is 'duplicate'.",
|
|
"type": "number"
|
|
},
|
|
"issue_fields": {
|
|
"description": "Issue field values to set or clear. Each item requires 'field_name' and exactly one of 'value', 'field_option_name', 'field_option_names', or 'delete: true'.",
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"delete": {
|
|
"description": "Set to true to clear this field's current value on the issue. Cannot be combined with 'value', 'field_option_name', or 'field_option_names'.",
|
|
"enum": [
|
|
true
|
|
],
|
|
"type": "boolean"
|
|
},
|
|
"field_name": {
|
|
"description": "Issue field name (case-insensitive). Must match a field returned by list_issue_fields for this repository or its organization.",
|
|
"type": "string"
|
|
},
|
|
"field_option_name": {
|
|
"description": "Option name for single-select fields. Validated against the field's options before the API call. Cannot be combined with 'value', 'field_option_names', or 'delete'.",
|
|
"type": "string"
|
|
},
|
|
"field_option_names": {
|
|
"description": "Option names for multi-select fields. All names are validated against the field's options before the API call. An empty array is rejected — use 'delete: true' to clear the field. Cannot be combined with 'value', 'field_option_name', or 'delete'.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"value": {
|
|
"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', 'field_option_names', or 'delete'.",
|
|
"type": [
|
|
"string",
|
|
"number",
|
|
"boolean"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"field_name"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"issue_number": {
|
|
"description": "Issue number to update",
|
|
"type": "number"
|
|
},
|
|
"labels": {
|
|
"description": "Labels to apply to this issue",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"method": {
|
|
"description": "Write operation to perform on a single issue.\nOptions are:\n- 'create' - creates a new issue.\n- 'update' - updates an existing issue.\n",
|
|
"enum": [
|
|
"create",
|
|
"update"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"milestone": {
|
|
"description": "Milestone number",
|
|
"type": "number"
|
|
},
|
|
"owner": {
|
|
"description": "Repository owner",
|
|
"type": "string"
|
|
},
|
|
"repo": {
|
|
"description": "Repository name",
|
|
"type": "string"
|
|
},
|
|
"state": {
|
|
"description": "New state",
|
|
"enum": [
|
|
"open",
|
|
"closed"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"state_reason": {
|
|
"description": "Reason for the state change. Ignored unless state is changed.",
|
|
"enum": [
|
|
"completed",
|
|
"not_planned",
|
|
"duplicate"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"title": {
|
|
"description": "Issue title",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"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.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"method",
|
|
"owner",
|
|
"repo"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"name": "issue_write"
|
|
} |