zAgileConnect Flow Action - Link Issue v2

You can link an Issue to a Salesforce record using Salesforce Flow and adding the “Link Issue v2“ action to your flow. The action has the following fields:

Field

Type

Required

Description

Issue Key

String

check mark

The Jira Issue Key to link.

Record Id

String

check mark

The Salesforce record Id to link to the Jira Issue.

Jira Connection Id

String


The unique identifier for the Jira connection. (e.g., "j00"). Leave blank to use the default connection.

Output

Type

Description

Error Message

String

Describes any error that occurred during the operation, if applicable.

Error

Boolean

Indicates whether there is an error.

Issue Key

String

The Issue Key related to this result.

Record Id

String

The Salesforce record Id related to this result.

This action makes callouts to Jira and so when using it from “Record Triggered Flows“ make sure to use it from within an Asynchronous Path.

CleanShot 2025-06-17 at 14.38.07@2x-20250617-193811.png

The following example will link a Jira Issue to parent Case when its child Case links a new issue.

In Salesforce → Flows create a new Record Triggered Flow

CleanShot 2025-07-01 at 14.04.59@2x-20250701-190509.png

Select the junction object “Case Issue” (a new record is created in this junction object every time an Issue is linked to a Case) and set the conditions as follows:

CleanShot 2025-07-01 at 14.06.45@2x-20250701-190703.png

After that it needs to validate if Case has parent Id ({!$Record.zsfjira__CaseId__r.ParentId} is not null), so in the Asynchronous path add a Decision element:

CleanShot 2025-07-01 at 14.11.36@2x-20250701-191141.png

From “Yes” outcome, add the “Link Issue v2” Flow Action

CleanShot 2025-07-01 at 14.12.40@2x-20250701-191250.png

Make sure to pass the parent Case Id from trigger ({!$Record.zsfjira__CaseId__r.ParentId}) in the Record Id field and Issue key from trigger ({!$Record.zsfjira__ZIssueId__r.Name}) in the Issue Key field

CleanShot 2025-07-01 at 14.19.08@2x-20250701-191924.png

Finally Save and Activate the flow. Then go to a Case that has a parent Case and link a new Issue, open parent Case and verify the same Issue is automatically linked to it.