{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Add custom field values to an issue. You can set values for organization-level issue fields that have been defined for the repository's organization.\nAdding an empty array will clear all existing field values for the issue.\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\nOnly users with push access to the repository can add 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 add to this issue. Each field value must include the field ID and the value to set.","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"},{"type":"array","items":{"type":"string"},"description":"The value to set for multi_select fields (array of option names)"}],"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 multi_select fields: provide an array of option names (must match existing options)\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":"Add issue field values to an issue","id":"github.issues.add-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}}