GitHub

issue_write

Create a new or update an existing issue in a GitHub repository.

Remote github

Other tools also called issue_write? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "body": {
      "type": "string",
      "description": "Issue body content"
    },
    "repo": {
      "type": "string",
      "description": "Repository name"
    },
    "type": {
      "type": "string",
      "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."
    },
    "owner": {
      "type": "string",
      "description": "Repository owner"
    },
    "state": {
      "enum": [
        "open",
        "closed"
      ],
      "type": "string",
      "description": "New state"
    },
    "title": {
      "type": "string",
      "description": "Issue title"
    },
    "labels": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Labels to apply to this issue"
    },
    "method": {
      "enum": [
        "create",
        "update"
      ],
      "type": "string",
      "description": "Write operation to perform on a single issue.\nOptions are:\n- 'create' - creates a new issue.\n- 'update' - updates an existing issue.\n"
    },
    "assignees": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Usernames to assign to this issue"
    },
    "milestone": {
      "type": "number",
      "description": "Milestone number"
    },
    "duplicate_of": {
      "type": "number",
      "description": "Issue number that this issue is a duplicate of. Only used when state_reason is 'duplicate'."
    },
    "issue_number": {
      "type": "number",
      "description": "Issue number to update"
    },
    "state_reason": {
      "enum": [
        "completed",
        "not_planned",
        "duplicate"
      ],
      "type": "string",
      "description": "Reason for the state change. Ignored unless state is changed."
    }
  }
}
          

Provider

GitHub →