Atlassian · Schema

issue

CodeCollaborationPlatformProductivitySoftware Development
View JSON Schema on GitHub

JSON Schema

atlassian-issue-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/issue",
  "title": "issue",
  "allOf": [
    {
      "$ref": "#/components/schemas/object"
    },
    {
      "type": "object",
      "title": "Issue",
      "description": "An issue.",
      "properties": {
        "links": {
          "type": "object",
          "properties": {
            "self": {
              "type": "object",
              "title": "Link",
              "description": "A link to a resource related to this object.",
              "properties": {
                "href": {
                  "type": "string",
                  "format": "uri"
                },
                "name": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            "html": {
              "type": "object",
              "title": "Link",
              "description": "A link to a resource related to this object.",
              "properties": {
                "href": {
                  "type": "string",
                  "format": "uri"
                },
                "name": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            "comments": {
              "type": "object",
              "title": "Link",
              "description": "A link to a resource related to this object.",
              "properties": {
                "href": {
                  "type": "string",
                  "format": "uri"
                },
                "name": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            "attachments": {
              "type": "object",
              "title": "Link",
              "description": "A link to a resource related to this object.",
              "properties": {
                "href": {
                  "type": "string",
                  "format": "uri"
                },
                "name": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            "watch": {
              "type": "object",
              "title": "Link",
              "description": "A link to a resource related to this object.",
              "properties": {
                "href": {
                  "type": "string",
                  "format": "uri"
                },
                "name": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            "vote": {
              "type": "object",
              "title": "Link",
              "description": "A link to a resource related to this object.",
              "properties": {
                "href": {
                  "type": "string",
                  "format": "uri"
                },
                "name": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        },
        "id": {
          "type": "integer"
        },
        "repository": {
          "$ref": "#/components/schemas/repository"
        },
        "title": {
          "type": "string"
        },
        "reporter": {
          "$ref": "#/components/schemas/account"
        },
        "assignee": {
          "$ref": "#/components/schemas/account"
        },
        "created_on": {
          "type": "string",
          "format": "date-time"
        },
        "updated_on": {
          "type": "string",
          "format": "date-time"
        },
        "edited_on": {
          "type": "string",
          "format": "date-time"
        },
        "state": {
          "type": "string",
          "enum": [
            "submitted",
            "new",
            "open",
            "resolved",
            "on hold",
            "invalid",
            "duplicate",
            "wontfix",
            "closed"
          ]
        },
        "kind": {
          "type": "string",
          "enum": [
            "bug",
            "enhancement",
            "proposal",
            "task"
          ]
        },
        "priority": {
          "type": "string",
          "enum": [
            "trivial",
            "minor",
            "major",
            "critical",
            "blocker"
          ]
        },
        "milestone": {
          "$ref": "#/components/schemas/milestone"
        },
        "version": {
          "$ref": "#/components/schemas/version"
        },
        "component": {
          "$ref": "#/components/schemas/component"
        },
        "votes": {
          "type": "integer"
        },
        "content": {
          "type": "object",
          "properties": {
            "raw": {
              "type": "string",
              "description": "The text as it was typed by a user."
            },
            "markup": {
              "type": "string",
              "description": "The type of markup language the raw content is to be interpreted in.",
              "enum": [
                "markdown",
                "creole",
                "plaintext"
              ]
            },
            "html": {
              "type": "string",
              "description": "The user's content rendered as HTML."
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": true
    }
  ]
}