addAttachment
Add attachment
POST /rest/api/3/issue/{issueIdOrKey}/attachments HTTP/1.1Parameters
{
"issueIdOrKey": {
"description": "The ID or key of the issue that attachments are added to.",
"required": true,
"location": "path",
"type": "string"
}
}Response Schema
{
"items": {
"additionalProperties": true,
"description": "Details about an attachment.",
"properties": {
"author": {
"allOf": [
{
"$ref": "#/components/schemas/UserDetails"
}
],
"description": "Details of the user who added the attachment.",
"readOnly": true
},
"content": {
"description": "The content of the attachment.",
"readOnly": true,
"type": "string"
},
"created": {
"description": "The datetime the attachment was created.",
"format": "date-time",
"readOnly": true,
"type": "string"
},
"filename": {
"description": "The file name of the attachment.",
"readOnly": true,
"type": "string"
},
"id": {
"description": "The ID of the attachment.",
"readOnly": true,
"type": "string"
},
"mimeType": {
"description": "The MIME type of the attachment.",
"readOnly": true,
"type": "string"
},
"self": {
"description": "The URL of the attachment details response.",
"readOnly": true,
"type": "string"
},
"size": {
"description": "The size of the attachment.",
"format": "int64",
"readOnly": true,
"type": "integer"
},
"thumbnail": {
"description": "The URL of a thumbnail representing the attachment.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"type": "array"
}