{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Set custom field values for an issue, replacing any existing values. You can set values for organization-level issue fields that have been defined for the repository's organization.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nThis operation will replace all existing field values with the provided ones. If you want to add field values without replacing existing ones, use the `POST` endpoint instead.\n\nOnly users with push access to the repository can set issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api).\"","properties":{"path":{"type":"object","properties":{"owner":{"type":"string","description":"The account owner of the repository. The name is not case sensitive."},"repo":{"type":"string","description":"The name of the repository without the `.git` extension. The name is not case sensitive."},"issue_number":{"type":"integer","description":"The number that identifies the issue."}},"required":["owner","repo","issue_number"],"additionalProperties":false},"body":{"type":"object","properties":{"issue_field_values":{"type":"array","description":"An array of issue field values to set for this issue. Each field value must include the field ID and the value to set. All existing field values will be replaced.","items":{"type":"object","properties":{"field_id":{"type":"integer","description":"The ID of the issue field to set","examples":[123]},"value":{"oneOf":[{"type":"string","description":"The value to set for text, single_select, or date fields"},{"type":"number","description":"The value to set for number fields"}],"description":"The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For date fields: provide an ISO 8601 date string","examples":["Critical"]}},"required":["field_id","value"],"additionalProperties":false},"maxItems":25}},"examples":[{"issue_field_values":[{"field_id":123,"value":"Critical"},{"field_id":456,"value":5},{"field_id":789,"value":"2024-12-31"}]}]}},"required":["path","body"],"additionalProperties":false},"name":"Set issue field values for an issue","id":"github.issues.set-issue-field-values","example":{"path":{"owner":"octocat","repo":"hello-world","issue_number":1},"body":{"issue_field_values":[{"field_id":123,"value":"Critical"},{"field_id":456,"value":5},{"field_id":789,"value":"2024-12-31"}]}},"maxRequests":1,"summary":false}}