Sync Salesforce case attachments to Jira
CRMMarketingProject Management
What it does
When someone adds or updates an attachment to a Salesforce case, this automation downloads that file and uploads it to the linked Jira issue. It marks the attachment as synced so it is not processed twice.
Who it's for
Engineering teams who track Salesforce cases in Jira and need attachments available in both places.
Apps used
How teams use this
Keep Jira issues current with case files
When a customer uploads a document to a Salesforce case, the file appears in Jira automatically. The engineering team sees all case details in one place without manual uploads.
Sync attachments for support handoffs
Route this automation to a support channel so when a case is escalated to engineering, all attachments move to Jira at the same time. The handoff stays complete without extra steps.
Filter syncs by case priority or status
Add a condition to the trigger so only attachments on high-priority or open cases sync to Jira. This reduces noise and focuses the team on urgent issues only.
Route attachments to different Jira projects
Set up a lookup table to map Salesforce case types to different Jira projects. Attachments then route to the correct project based on the case category.
How it works
- Monitor for new or updated attachments. When someone adds or updates an attachment to a Salesforce case, check if the attachment description does not contain a synced marker to avoid duplicate uploads.
- Retrieve the parent case details. Fetch the full case record from Salesforce to find the linked Jira issue key stored in the case.
- Download the attachment file. Retrieve the attachment content from Salesforce so it can be sent to Jira without opening either system.
- Upload the file to the Jira issue. Add the attachment to the corresponding Jira issue using the issue key from the Salesforce case.
- Mark the attachment as synced. Update the Salesforce attachment description to include a synced marker so this automation does not process it again.