Adds one or more attachments to an issue. Attachments are posted as multipart/form-data (RFC 1867). Note that:
  • The request must have a X-Atlassian-Token: no-check header, if not it is blocked. See Special headers for more information.
  • The name of the multipart/form-data parameter that contains the attachments must be file.
This operation can be accessed anonymously. Permissions required:
External DocumentationTo learn more, visit the Jira documentation.

Parameters

ParameterDescription
File IdentifierThe file identifier of the attachment.
You can create a file identifier using the Set File Variable action.
File NameThe name of the file.
Issue ID Or KeyThe ID or key of the issue that attachments are added to.

Example Output

[
	{
		"self": "<string>",
		"id": "<string>",
		"filename": "<string>",
		"author": {
			"self": "<string>",
			"accountId": "<string>",
			"emailAddress": "<string>",
			"avatarUrls": {
				"48x48": "<string>",
				"24x24": "<string>",
				"16x16": "<string>",
				"32x32": "<string>"
			},
			"displayName": "<string>",
			"active": true,
			"timeZone": "<string>",
			"accountType": "<string>"
		},
		"created": "<string>",
		"size": 61094,
		"mimeType": "<string>",
		"content": "<string>"
	}
]

Workflow Library Example

Add Attachment with Jira and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop