Skip to content

Jira issue attachments

Description

The Jira Issue Attachments activity enables your workflow to manage file attachments on Jira issues by interacting with the Jira REST API.

This activity supports the following operations:

  • Get – Retrieve a specific attachment by ID.
  • Get All – Fetch all attachments associated with a given Jira issue.
  • Create – Upload and attach one or more files to a Jira issue.
  • Delete – Remove a specific attachment by its ID.

Use this activity to:

  • Automate evidence or report uploads to a Jira ticket
  • Retrieve all attached files (logs, screenshots, PDFs) for processing
  • Programmatically delete outdated or sensitive attachments

Use Case:
After executing automated test scripts in a CI/CD pipeline, you can use the Create operation to attach test reports or screenshots to a Jira issue. You can then use Get All to retrieve and archive attachments for audit or reporting purposes.


Input

Input TypeFormatDescription
DataFile or TextFile(s) or metadata required for operations

Inputs are required only for the Create operation (file upload).


Output

Output TypeFormatDescription
DataJSONMetadata about the retrieved or updated files

Configuration Fields

Field NameDescriptionRequired
ConnectionJira OAuth connection used to authenticate API requests.Yes
Site NameThe base URL of the Jira site (e.g., your-domain.atlassian.net).Yes
OperationType of action to perform:
  • Get
  • Get All
  • Create
  • Delete
Yes
Issue KeyThe Jira issue ID or key (e.g., PROJ-101) used to identify the target issue.Yes
AttachmentsFile(s) to upload. Required only for Create operation.Optional (based on operation)
Attachment IDThe ID of the attachment to retrieve or delete. Used in Get and Delete operations only.Optional (based on operation)

Sample Input

Not applicable for Get, Get All, and Delete operations.

For Create, you must upload one or more files.


Sample Configuration

FieldValue
ConnectionJira OAuth Connection
Site Namemyteam.atlassian.net
Issue KeyPROJ-456
OperationGet All

Sample Output

Attachment NameSizeDownload Link
error_log.txt12 KBDownload
screenshot.png245 KBDownload
report.pdf1.2 MBDownload