Sync Salesforce cases to Jira with comments and attachments
CRMMarketingProject Management
What it does
When a case is created or updated in Salesforce, this automation creates or updates a matching issue in Jira. Case comments and attachments sync to Jira, and the Salesforce case number is stored in the Jira issue so both systems stay linked.
Who it's for
Engineering teams who track customer issues in both Salesforce and Jira and need them synchronized automatically.
Apps used
How teams use this
Keep support and engineering in sync
Support logs cases in Salesforce and engineering sees them appear in Jira automatically with all comments and attachments. Both teams work from the same source of truth without manual updates.
Route cases to specific Jira projects
Set up a lookup table to send cases to different Jira projects based on case type or priority. Billing cases go to one project, technical cases to another, all from the same Salesforce trigger.
Sync only high-priority cases
Add a condition to the trigger so only cases marked urgent or critical create Jira issues. Lower-priority cases stay in Salesforce without cluttering the engineering backlog.
Include custom fields in the sync
Map Salesforce custom fields like customer account or SLA date to Jira custom fields so engineers have full context. Include those fields in the update step to keep them in sync on every change.
How it works
- Monitor Salesforce cases. Watch for cases created or updated in Salesforce that meet your criteria, such as priority level or case type.
- Create Jira issue if needed. Check if a Jira issue already exists for this case. If not, create one in your project with the case number in the description.
- Store Jira issue key. Update the Salesforce case with the Jira issue key so the link is saved and future syncs know which issue to update.
- Update Jira with case details. Sync the case priority, status, and other fields to the existing Jira issue so both records stay current.
- Sync comments and attachments. Fetch all comments and files from the Salesforce case and add them to the Jira issue so the full history is visible in one place.