Bulk associations: GET /external/api/associations
Before you start
Before you start working with REST APIs, make sure you have:
Checked the Authenticate API instructions.
Use the correct Connector for Salesforce and Jira Cloud instance URL: https://sfjc.integration.appfire.app or https://eu-sfjc.integration.appfire.app, depending on your data residency location.
Endpoint: GET /external/api/associations?jiraIssueId={}
Description
Retrieves all associations with Salesforce records for a specified Jira issue.
Query parameters
jiraIssueId(string, required): The Jira issue ID.
Example
GET /external/api/associations?jiraIssueId=11816Response parameters
jiraIssueId(string, required): the Jira issue ID is the unique identifier of the Jira issue you want to associate.son(string, required): Salesforce object name, for example,Case,Account,Contact.soid(string, required): Salesforce object ID for the specific record associated with the Jira issue.viewOnly(boolean, optional):truefor a view-only association.autoPush(boolean, optional):truefor automatic data push from Jira to Salesforce.autoPull(boolean, optional):truefor automatic data pull from Jira to Salesforce.
Example response
{
"data": [
{
"jiraIssueId": "11816",
"son": "Case",
"soid": "500J80000019IF9IAM",
"viewOnly": false,
"autoPush": false,
"autoPull": false
}
],
"message": "Associations fetched successfully",
"success": true
}Related pages
Need support? Create a request with our support team.
