Configure Authentication Between Salesforce and Jira

The miniOrange API Integration managed package makes API calls to the miniOrange Jira Salesforce Data Sync app present on your Jira Data Center instance. These API calls are made to perform operations like creating/updating Jira Issues, adding/fetching Jira comments, etc.

In order to authenticate the API request coming from the miniOrange API Integration managed package to the endpoints opened by the miniOrange Jira Salesforce Data Sync Jira app, the latter uses an API token-based authentication system. This document will help you configure the miniOrange API Integration managed package to ensure it makes valid API calls to the endpoints opened by the miniOrange Jira Salesforce Data Sync app present on your Jira Data Center instance.

How to configure the miniOrange API Integration managed package in order to ensure it makes valid API requests to your Jira?

  • Navigate to the App Launcher in Salesforce and search for the miniOrange API Integration.

    image-20240617-071350.png

     

  • Add the Connection Name, Connection URL, and API Token.

    image-20240617-075909.png



Connection Name

You can add any name of your choice.
If you want you can add the remote site name as “moSfIntegration“

Connection URL

Add the Base URL of your Jira Datacenter.

For example: If your Jira datacenter is hosted at “https://jira.example.com” then “https://jira.example.com“ is the URL you need to add as the Remote Site URL.

API Token

You need to get this from the miniOrange Jira Salesforce Data Sync app present on your Jira Data Center instance. Follow the steps below to get it:

  • Navigate to the Application section.

  • Navigate to the Manage Apps Tab.

  • Go to the Connect To Salesforce section and click on the Get API Token button.

  • Copy the API token using the Copy to Clipboard button.

  • Paste the copied token in the API Token text box in the miniOrange API Integration Salesforce package.

Next Steps

Once the miniOrange API Integration Salesforce package is connected with your Jira Instance, all you need to do is add the lightning web component generated by the miniOrange API Integration Salesforce package to your Salesforce records page. You need to Add Lightning Web Components to the Salesforce Record Page to perform Jira operations, such as creating/updating Jira Issues, viewing/adding comments, etc. within Salesforce.