Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Currently, the connector uses the SOSL SOQL to search for Salesforce records, which only queries on fields whose data type is text, phone, and email. Since the record ID is an ID-type field (lookup field), the connector cannot find any records when you try to associate them.

This article will help you use the record ID to search and associate Salesforce records with Jira issues.

\uD83D\uDCD8 Instructions

To make the record ID searchable in on the Jira association association’s screen:

Create a Salesforce custom text field.

  1. In Salesforce, go to Setup > Object Manager > Select the SObject you want to apply the workaround > Fields & Relationships > Click on New and create a custom text field that will hold the Salesforce Record ID; its length should be 18 or more to match the length of the record ID. Please do not create a formula field to capture the ID.

  2. Click Next and select the visibility of the Field as needed.

  3. Click Next to add the new text field to the object page layout

  4. Click Save, and you'll have the new custom field added to your SObject.

On this field, we need to copy and paste the record ID from the URL (This can be automatized by using a flow or trigger)

...

Automate the copy of the ID

We can use the following flow to automate the copy:

...