> For the complete documentation index, see [llms.txt](https://docs.zigiwave.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zigiwave.com/integration-catalog/salesforce-jira-integration.md). Agents can also search and read this documentation through its [MCP server](https://docs.zigiwave.com/~gitbook/mcp).

# Salesforce Jira Integration

Learn how to configure and manage Salesforce-Jira integrations in ZigiOps, including prerequisites, setup steps, mappings, and supported scenarios.

Integrate Salesforce and Jira to synchronize cases, comments, attachments, and custom objects between customer-facing CRM teams and development teams using ZigiOps, a secure, no-code integration platform. When a record is created or updated in one system, ZigiOps reflects the change in the other based on your workflow configuration, on a polling interval as often as every 10 seconds or on events. No scripting or coding is required at any stage.

This page covers everything you need for the Salesforce and Jira pair: use cases, prerequisites, a quick template-based setup, a detailed setup walkthrough, mapping examples, advanced scenarios, troubleshooting, and FAQ.

### Integration video

{% embed url="<https://youtu.be/Z6IUMtsHrEE?si=4B-dgFNRfgpLEd7o>" %}

### Overview and use cases

#### What can I integrate between Salesforce and Jira?

ZigiOps can integrate any Salesforce entity (Cases, Leads, Opportunities, Custom Objects, etc.) with any Jira issue type (Tasks, Issues, Bugs, etc.), so you can build workflows tailored to your processes and data models.

Out of the box, ZigiOps provides ready-made templates for the most common scenarios:

* Salesforce Cases to Jira Tasks
* Jira Tasks to Salesforce Cases

Each template is a preconfigured starting point. You can extend it to additional Salesforce objects and Jira issue types, and run it one-way or bi-directionally with full control over field mappings, filters, triggers, and synchronization rules.

#### Typical use cases

| Use case                                          | Salesforce entity | Jira entity  | Sync direction     |
| ------------------------------------------------- | ----------------- | ------------ | ------------------ |
| Customer issue tracking and development alignment | Case              | Issue / Task | Bi-directional     |
| Bug tracking linked to customer reports           | Case              | Bug          | Bi-directional     |
| Sales-driven feature or project requests          | Opportunity       | Task         | Configurable       |
| Marketing or sales lead follow-up                 | Lead              | Task         | Salesforce to Jira |
| Custom business process synchronization           | Custom Object     | Task / Issue | Configurable       |

ZigiOps supports synchronization of all standard and custom fields and objects in both systems. For entities or use cases not listed here, contact <support@zigiwave.com>.

#### How does the integration work?

ZigiOps connects Salesforce and Jira through their native APIs and acts as a secure integration layer between the two systems.

* No scripting or custom development required. Everything is configured in the ZigiOps UI.
* Supports polling-based and event-based (webhook) synchronization.
* Does not permanently store transferred business data. Correlation stores only unique identifiers.
* Can be deployed on-premises or used as a cloud service, depending on your security and compliance requirements.

### Prerequisites and permissions

Before configuring the integration, confirm the following:

* **ZigiOps instance:** installed and running. See [System Requirements](https://docs.zigiwave.com/integration-platform/system-requirements).
* **License:** your ZigiOps license includes the Jira-Salesforce system pair.
* **Salesforce:** an administrator account, or a user with "Modify All Data" permission and API access enabled, with access to all objects and fields in the integration.
* **Salesforce Connected App:** configured to provide the Client ID and Client Secret used for OAuth.
* **Jira:** an account with project-level permissions. Jira Cloud connects with OAuth 2.0; Jira Data Center and Server connect with Basic authentication.
* **Correlation fields:** create the custom fields that will store the linked record's ID in each system before you configure the workflow.
* **Attachment sync (optional):** Salesforce does not update `lastmodifieddate` when an attachment is added. If you need attachment sync, add a mechanism on the Salesforce side that updates it (see Advanced scenarios).

| Integration scenario           | Salesforce authentication                               | Salesforce permissions                          | Salesforce environment                   | Jira authentication                                        | Jira permissions                                         | Jira environment                                      |
| ------------------------------ | ------------------------------------------------------- | ----------------------------------------------- | ---------------------------------------- | ---------------------------------------------------------- | -------------------------------------------------------- | ----------------------------------------------------- |
| Salesforce Cases to Jira Tasks | OAuth (Username + Password + Client ID + Client Secret) | Read / Write access to Cases and target objects | Salesforce Cloud (any supported version) | OAuth 2.0 for Jira Cloud; Basic for Data Center and Server | Create / Read / Update issues; access to target projects | Jira Software or Jira Service Management 7.x or newer |
| Jira Tasks to Salesforce Cases | OAuth (Username + Password + Client ID + Client Secret) | Read / Write access to Cases and target objects | Salesforce Cloud (any supported version) | OAuth 2.0 for Jira Cloud; Basic for Data Center and Server | Create / Read / Update issues; access to target projects | Jira Software or Jira Service Management 7.x or newer |

### Quick setup with a template

Use this path to get a standard scenario running in a few minutes with a prebuilt ZigiOps template.

1. Log in to your ZigiOps instance.
2. Add Salesforce and Jira as connected systems (see Detailed setup, step 1, if you haven't done this yet).
3. Go to **Configurator** > **Workflows** > **Add New Workflow** and select **Load from Template**.
4. Choose the Salesforce and Jira template you need (for example, Salesforce Cases to Jira Tasks) and click **Load**.
5. Select the corresponding connected systems (Salesforce and Jira).
6. Click **Save**.
7. Enable the integration with the slider in the middle section of the screen.

ZigiOps starts synchronizing data based on the template's mappings and rules. A template includes preconfigured mappings for summary, description, and priority, plus basic correlation and trigger settings. To adapt it to your environment, continue with the detailed setup below.

### Detailed setup

Follow these steps to build a custom workflow or fine-tune a template. Each step summarizes what matters for Salesforce and Jira; the linked Design & Mappings pages explain each concept in full.

#### Step 1: Add system instances

First, get the Client ID and Client Secret in Salesforce: **Setup** > **Apps** > **App Manager**, click **View** on your Connected App, and copy both values from the Manage Application menu.

Then add one connected system for each environment: **Connected Systems** > **Add New System**.

* **Salesforce:** URL (for example `https://example.lightning.force.com`), username, password, Client ID, Client Secret, and proxy settings if needed.
* **Jira:** Server URL (for example `https://yourcompany.atlassian.net`), authentication (OAuth 2.0 for Jira Cloud: sign in with your Atlassian account and approve the ZigiWave app, no API token needed; Basic authentication for Data Center and Server), project key, and proxy settings if needed.

Click **Save**, then **Test Connection**. On success, ZigiOps downloads the available objects, projects, and fields. If the test fails, check the user's API permissions and make sure the URL has no trailing slash. For details, see [How to connect Salesforce to ZigiOps](https://docs.zigiwave.com/available-systems/salesforce) and [How to connect Jira to ZigiOps](https://docs.zigiwave.com/available-systems/jira).

<figure><img src="https://3650052113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoXe6KS4zsvubqwq8sSbS%2Fuploads%2FFu2TpHDJBiFw48o6z75I%2FAdding%20Salesforce%20as%20a%20Connected%20System.png?alt=media&amp;token=2d97f309-3554-4ee3-b29b-d7e1b9416a19" alt=""><figcaption><p><em>ZigiOps UI - Adding Salesforce as a Connected System.</em></p></figcaption></figure>

<figure><img src="https://3650052113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoXe6KS4zsvubqwq8sSbS%2Fuploads%2FXO8sQFeO35Era3ic4lUW%2FAdding%20Jira%20as%20a%20system.png?alt=media&amp;token=e301162e-5cd0-4b82-af7a-288d3065c2d8" alt=""><figcaption><p><em>ZigiOps UI - Adding Jira as a Connected System.</em></p></figcaption></figure>

#### Step 2: Create or load a workflow

Go to **Configurator** > **Workflows** > **Add New Workflow** and either select **Load from Template** or **Custom Integration** (give the workflow a name). Then select the entity pair from the use case table above. For full bi-directional sync, configure at least two actions: one that creates and updates Jira records from Salesforce, and one that updates Salesforce when Jira records change.

<figure><img src="https://3650052113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoXe6KS4zsvubqwq8sSbS%2Fuploads%2Fp1Yr0BTTMT5iiMCtaLOw%2FTemplate%20Selection.png?alt=media&amp;token=ce01c6c3-a907-4b47-ab1b-b620147dcc70" alt=""><figcaption><p><em>ZigiOps UI - Workflow template selection screen.</em></p></figcaption></figure>

<figure><img src="https://3650052113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoXe6KS4zsvubqwq8sSbS%2Fuploads%2F0wvfAqXSmYmVLWzpzmtX%2FJira%20Salesforce%20Entities%20Selection.png?alt=media&amp;token=efa01bf3-009e-49b4-b7b3-6c308f72e475" alt=""><figcaption><p><em>ZigiOps UI - Entity pair selection screen.</em></p></figcaption></figure>

#### Step 3: Configure correlation

Correlation matches existing records across systems so that each sync cycle updates the linked record instead of creating a new one. It stores only identifiers, never business data. Typical setup:

* **Jira custom field** (for example "Salesforce Case ID") stores the Salesforce Case or object ID.
* **Salesforce custom field** (for example "Jira Reference") stores the Jira issue key (for example `OPS-4512`).

ZigiOps uses one-to-one correlation by default: each Jira record maps to exactly one Salesforce record, which prevents duplicates even if an event is processed twice.

<figure><img src="https://3650052113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoXe6KS4zsvubqwq8sSbS%2Fuploads%2FR5k30FJ8NVMIGzQwAjWK%2FJira%20Salesforce%20Correlation.png?alt=media&amp;token=dfbfcbef-aa0a-42f3-9006-6e3dd54c5c7b" alt=""><figcaption><p><em>ZigiOps UI - Correlation configuration screen.</em></p></figcaption></figure>

#### Step 4: Configure field mappings

Map fields separately for each action direction. The minimum recommended set is in Mapping examples below; status, priority, and comments need conditional logic, covered in Advanced scenarios. See [Data mapping fundamentals](https://docs.zigiwave.com/design-and-mappings/data-mapping-fundamentals).

<figure><img src="https://3650052113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoXe6KS4zsvubqwq8sSbS%2Fuploads%2FsprHWSexlu8nh2ZC3MmM%2FJira%20Salesforce%20Field%20Map.png?alt=media&amp;token=7941c756-889d-4519-97a3-e757f9706f2a" alt=""><figcaption><p><em>ZigiOps UI - Field Mapping table.</em></p></figcaption></figure>

<figure><img src="https://3650052113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoXe6KS4zsvubqwq8sSbS%2Fuploads%2FRf3gHHIwDCsX1ZJWFR3p%2FJira%20Salesforce%20Status%20Conditional%20Mapping.png?alt=media&amp;token=1bfc89e1-2190-47b5-a9a6-506c7c432eeb" alt=""><figcaption><p><em>ZigiOps UI - Status conditional mapping.</em></p></figcaption></figure>

#### Step 5: Configure triggers

| Trigger type | How it works                                                          | Recommended use                                                  |
| ------------ | --------------------------------------------------------------------- | ---------------------------------------------------------------- |
| Poller       | Queries the source system API on a schedule (default: every 1 minute) | SLA monitoring, controlled sync cycles, systems without webhooks |
| Web Listener | Exposes an HTTP endpoint that the source system calls via webhook     | Real-time status updates and near-instant case escalation        |

For production, use both: the Poller guarantees full coverage, and the Web Listener reduces latency for time-critical events.

<figure><img src="https://3650052113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoXe6KS4zsvubqwq8sSbS%2Fuploads%2Fhm1yfPGExKlBXUptIRwI%2FJira%20Salesforce%20Trigger.png?alt=media&amp;token=ef05924b-4122-4592-a6a4-0f6a1b6ca754" alt=""><figcaption><p><em>ZigiOps UI - Trigger configuration.</em></p></figcaption></figure>

#### Step 6: Add filters and conditions

Filters decide which records are collected. Common Salesforce and Jira filters:

* `{lasttime}` to collect only records created or updated since the previous run.
* Exclude records from sandbox or test Salesforce environments.
* Restrict to specific record types or case origins (for example, only cases where Origin = Web or Email).
* Sync High priority cases in real time and batch lower priorities.
* Exclude Case Comments authored by the integration user to prevent echo loops.

Conditions support AND/OR logic and operators such as is, is not, is one of, contains, is empty, less than, and greater than. See [Filters and conditions](https://docs.zigiwave.com/design-and-mappings/filters-and-conditions).

<figure><img src="https://3650052113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoXe6KS4zsvubqwq8sSbS%2Fuploads%2FYkQD3Nhq0QGp7q4wCQjz%2FJira%20Salesforce%20Filtering.png?alt=media&amp;token=e113b16a-9b41-4ab3-a002-e39101e5c20d" alt=""><figcaption><p><em>ZigiOps UI - Filter and Condition Builder.</em></p></figcaption></figure>

#### Step 7: Transform data with expressions (optional)

Expressions transform values between source and target without scripting, for example converting Salesforce `CreatedDate` to a readable date, truncating long case descriptions to Jira's 255-character summary limit, extracting a product version or error code from a case subject with Pattern (RegEx), or masking customer account numbers with Replace Pattern (RegEx). See [Transformations and expressions](https://docs.zigiwave.com/design-and-mappings/transformations-and-expressions).

<figure><img src="https://3650052113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoXe6KS4zsvubqwq8sSbS%2Fuploads%2FhTdkT0lzXV42FWv8xyWQ%2FJira%20Salesforce%20Expressions.png?alt=media&amp;token=fc989c5b-bcae-4922-8a43-e7ad7cb4a97c" alt=""><figcaption><p><em>ZigiOps UI - Expression configuration.</em></p></figcaption></figure>

#### Step 8: Test and activate

<figure><img src="https://3650052113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoXe6KS4zsvubqwq8sSbS%2Fuploads%2FaA0T5qPCxGyMsq9X0g3I%2FDashboard.png?alt=media&amp;token=72408bdb-7fdb-43b7-a5e3-5ad7319bb7e3" alt=""><figcaption><p><em>ZigiOps Dashboard - Monitoring view.</em></p></figcaption></figure>

1. Run the workflow in test mode against a non-production record.
2. Verify the target record has the correct field values.
3. Check the Activity Log, payload inspector, and HTTP request/response data for errors.
4. Set the workflow status to **Active**.

### Mapping examples

Typical mappings for each template. All mappings can be customized per use case.

**Minimum recommended mappings (Salesforce Case and Jira issue)**

| Salesforce field | Jira field                         | Notes                                              |
| ---------------- | ---------------------------------- | -------------------------------------------------- |
| Subject          | summary                            | Direct text mapping                                |
| Description      | description                        | Direct text mapping                                |
| Priority         | priority                           | Conditional mapping if label names differ          |
| Status           | status (transition)                | Conditional mapping with Jira transition IDs       |
| Case Comment     | comment.body                       | Configure via Related Records; apply author filter |
| OwnerId          | assignee                           | Map based on team structure                        |
| Id (Case ID)     | Custom field: Salesforce Case ID   | Used for correlation                               |
| CaseNumber       | Custom field: Salesforce Reference | Human-readable cross-reference                     |

**Salesforce Case to Jira Task**

| Salesforce field | Jira field  | Advanced mapping example                              |
| ---------------- | ----------- | ----------------------------------------------------- |
| Subject          | Summary     | -                                                     |
| Description      | Description | -                                                     |
| Priority         | Priority    | -                                                     |
| Status           | Status      | New - To Do, In Progress - In Progress, Closed - Done |
| Owner            | Assignee    | -                                                     |
| Comments         | Comments    | -                                                     |
| Attachments      | Attachments | -                                                     |

**Jira Task to Salesforce Case**

| Jira field  | Salesforce field | Advanced mapping example                              |
| ----------- | ---------------- | ----------------------------------------------------- |
| Summary     | Subject          | -                                                     |
| Description | Description      | -                                                     |
| Priority    | Priority         | -                                                     |
| Status      | Status           | To Do - New, In Progress - In Progress, Done - Closed |
| Assignee    | Owner            | -                                                     |
| Comments    | Comments         | -                                                     |
| Attachments | Attachments      | -                                                     |

### Advanced Salesforce and Jira scenarios

These scenarios cover the places where Salesforce and Jira model data differently and a direct field-to-field mapping is not enough.

#### Scenario 1: Map Salesforce case statuses to Jira statuses

Salesforce case statuses are configurable per organization; Jira statuses are governed by workflow transitions. Map them conditionally:

| Salesforce case status | Jira status       | Notes                                                    |
| ---------------------- | ----------------- | -------------------------------------------------------- |
| New                    | To Do             | Direct mapping                                           |
| Working                | In Progress       | Direct mapping                                           |
| Escalated              | In Progress       | Map to an Escalated status in Jira if available          |
| On Hold                | On Hold / Blocked | Map to a custom Jira status if available                 |
| Closed                 | Done              | Terminal state. Send any required Jira resolution fields |

Check the exact status labels in your Salesforce org before configuring. When moving a Jira issue to Done, use the Jira **transition ID** rather than setting the status value directly, so workflow validators and required fields are respected.

#### Scenario 2: Escalate urgent customer cases to the highest Jira priority

Salesforce priorities (High, Medium, Low) usually map one to one to Jira, but Jira label names can vary by instance and project. If your Jira has a Highest level, add a conditional mapping that sends Salesforce High cases also marked Urgent or Critical to Highest, so engineering sees real customer impact.

#### Scenario 3: Sync attachments reliably

ZigiOps detects Salesforce changes through `lastmodifieddate`, but Salesforce does not update it when an attachment is added. Add a Salesforce trigger or flow that updates `lastmodifieddate` on the parent record when an attachment is created, then use a Last Time filter so existing files are not re-synced.

#### Scenario 4: Keep developers and support agents in their own tools

Sync only Case Comments relevant to the development team into Jira, and map developer comments back as Case Comments so support agents can update the customer without opening Jira. Exclude comments authored by the integration user and use `{lasttimecomment}` to avoid echo loops. See [Comments and attachment sync](https://docs.zigiwave.com/design-and-mappings/attachments-and-comments).

#### Scenario 5: Turn sales requests into engineering work

Sync Opportunities or Leads to Jira Tasks when a deal depends on a feature or project. Filter by record type or stage so only qualifying records create Jira work, and sync Jira status back so sales can see delivery progress on the Opportunity.

#### Scenario 6: Protect customer data in transit

Use Replace Pattern (RegEx) to mask customer account numbers before case descriptions reach Jira, and Replace Text to turn internal account codes into product names developers recognize.

### Data that syncs

ZigiOps synchronizes:

* Standard and custom fields, including custom objects
* Status transitions
* Case Comments and Jira comments
* Attachments (see Scenario 3)
* Users and assignments (configurable)
* Correlation IDs and cross-references

Each field can be mapped independently for each direction.

#### Reliability built in

* **Idempotency:** before any write, ZigiOps checks for a correlated record and updates it if one exists, so retries never create duplicates.
* **Retry logic:** transient errors (rate limits, maintenance windows, network interruptions) are retried automatically; permanent failures are logged in the Activity Log.
* **Governance:** define integration ownership, test changes in a staging environment first, export and version your templates, and monitor dashboards for errors.

### Troubleshooting

| Issue                                                       | Likely cause                                                                          | Resolution                                                                                                 |
| ----------------------------------------------------------- | ------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| Fields are missing from mapping suggestions                 | The system schema was not refreshed after new fields were added                       | Go to Connected Systems, select the system, and click Save to re-download the schema                       |
| Duplicate Case Comments in Jira                             | No integration-user exclusion filter, or `{lasttimecomment}` not configured           | Exclude the integration user as comment author and configure `{lasttimecomment}`                           |
| Salesforce record doesn't update when Jira changes          | The Salesforce correlation field is empty or not mapped                               | Make sure the Respond Mapping writes the Jira issue key to the Salesforce correlation field after creation |
| Jira status doesn't update after a Salesforce status change | The mapping sets the status value instead of using a transition ID                    | Use the correct Jira transition ID in the mapping                                                          |
| Attachments aren't collected from Salesforce                | Salesforce doesn't update `lastmodifieddate` when attachments are added               | Add a Salesforce trigger or flow that updates it on the parent record (Scenario 3)                         |
| OAuth authentication fails on the Salesforce connection     | Wrong Client ID or Client Secret, or missing OAuth scopes on the Connected App        | Check the Connected App configuration and that API access is enabled for the user                          |
| Workflow saves but fails to activate                        | A mandatory field is missing, or the license doesn't include the Jira-Salesforce pair | Check the error message in the UI and the license under Admin > About                                      |

For general troubleshooting, see [Troubleshooting](https://docs.zigiwave.com/operations-and-monitoring/troubleshooting).

### Frequently asked questions (FAQ)

#### Is the integration bi-directional?

Yes. All scenarios support bi-directional synchronization, configurable per field.

#### Can I sync custom Salesforce objects?

Yes. ZigiOps supports any Salesforce entity, including custom objects.

#### How often does data sync?

On a configurable polling interval, as often as every 10 seconds, or on events through a Web Listener.

#### Why aren't my Salesforce attachments syncing?

Salesforce doesn't update `lastmodifieddate` when an attachment is added. See Scenario 3 for the fix.

#### How are update loops prevented?

ZigiOps uses correlation IDs and author filters (excluding the integration user) to prevent circular updates.

#### Does ZigiOps store my Salesforce or Jira data?

No. ZigiOps does not permanently store transferred business data. Correlation stores only record identifiers.

### Related resources

* [How to connect Salesforce to ZigiOps](https://docs.zigiwave.com/available-systems/salesforce)
* [How to connect Jira to ZigiOps](https://docs.zigiwave.com/available-systems/jira)
* [Data mapping fundamentals](https://docs.zigiwave.com/design-and-mappings/data-mapping-fundamentals)
* [Filters and conditions](https://docs.zigiwave.com/design-and-mappings/filters-and-conditions)
* [Transformations and expressions](https://docs.zigiwave.com/design-and-mappings/transformations-and-expressions)
* [Comments and attachment sync](https://docs.zigiwave.com/design-and-mappings/attachments-and-comments)
* [Troubleshooting](https://docs.zigiwave.com/operations-and-monitoring/troubleshooting)
* [ZigiOps System Requirements](https://docs.zigiwave.com/integration-platform/system-requirements)
* [Jira and Salesforce integration on the ZigiWave website](https://zigiwave.com/integrations/jira-salesforce-integration)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.zigiwave.com/integration-catalog/salesforce-jira-integration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
