This page shows you how to handle attachments on the Salesforce side of the workflow when using Connector for Salesforce & Jira.
For an overview of how attachments work between Jira and Salesforce, visit Working with attachments.
Prerequisites
The attachment synchronization feature must be turned on by an admin through a Connection setting called Synchronize Attachments.
Pushing Salesforce attachments to Jira
Manually
Attach a file to the Salesforce object.
To push the attachment to an associated Jira issue, click on the Push button available for the corresponding association. (You can also click on the Pull button on the corresponding association in the overview panel located in the right sidebar on the Jira issue page).
When a push is triggered:
All attachments in Salesforce will be pushed to Jira, regardless of whether attached prior to or after the association.
Attachments already existing in Jira will not be pushed again.
Currently, we compare attachment names and sizes for this purpose in order to not duplicate attachments.
A push/pull is not available for View Only associations, so pushing attachments is also not possible for them.
Automatically
Your administrator must have configured the Apex trigger to automatically pull Salesforce attachments from Jira.
Pulling Jira attachments from Salesforce
From inside Salesforce, you can retrieve attachments from Jira:
Automatically - when the association is configured with Auto Pull.
Click Configure
> Auto> Auto Pull.
Manually - click on Pull in the pull-down menu available for the association.
Similar to push:
All attachments in Jira will be pulled to Salesforce, regardless attached to Jira prior to or after the association.
Attachment that already exists in Salesforce (same name) will not be pulled to Salesforce.
Read-only association is not affected.
Working with Salesforce Files
...
Working with Synchronize Inline Attachments
...
When Synchronize Inline Attachments is enabled, it ensures that once attachments/files are detected within a Jira comment, the connector synchronizes and creates a copy of the attachments in Salesforce.
When comments are rendered within the Salesforce Jira Comment component (LWC), the links to the attachments/files are files are pointing to the Salesforce attachment and not the Jira environment.
Synchronize Inline Attachments toggle is toggle is enabled automatically if the Synchronize Attachment toggle is enabled in Connection settings.
Note |
---|
Attachment size limitsSync from Salesforce to Jira
Sync from Jira to Salesforce
|