Create Jira tickets from Salesforce cases with comments

UtilitiesCRMMarketingSalesProject management

What it does

When a scheduled interval runs, this automation searches Salesforce for cases and syncs them to Jira as new tickets or updates existing ones. Each ticket includes the case comments and attachments so the full context moves between systems.

Who it's for

Engineering teams who track customer issues in both Salesforce and Jira and need them to stay in sync.

How teams use this

Keep customer issues in sync

Run the sync on a daily schedule so every Salesforce case becomes a Jira ticket with full context. The team sees all customer issues in their tracking system without manual work.

Sync only high-priority cases

Filter the Salesforce search to include only cases marked as urgent or critical so only the most important issues create Jira tickets. This keeps the backlog focused on what matters most.

Route tickets to specific Jira projects

Map Salesforce case types to different Jira projects so billing issues go to one board and technical issues go to another. The automation handles the routing based on the case type.

Include account details on each ticket

Add the associated Salesforce account name and industry to the Jira ticket description so engineers see the customer context. This requires pulling the account details into the ticket body.

How it works

  1. Run on a scheduled interval. This automation starts at a set time each day, week, or month to check for new or updated Salesforce cases.
  2. Fetch cases and related data. Search Salesforce for cases, then retrieve the case comments, attachments, and associated account details for each one.
  3. Check if issue exists. Search Jira for an issue using the Salesforce case number to see if a ticket already exists.
  4. Create or update the ticket. If no issue is found, create a new Jira ticket with the case details, comments, and attachments. If one exists, update it with any new information.