Skip to main content
Skip table of contents

zAgileConnect Flow Action - Transition Issue by Status Name

You can transition an Issue by the target status using Salesforce Flow and adding the “Transition Issue by Status Name“ action to your flow. The action has the following fields:

Transition Issue by Status Name Action Fields

Field

Type

Required

Description

Issue Key

String

(tick)

The Jira Issue Key to transition to another status

Status Name

String

(tick)

The name of the target Issue status, the Issue will be transitioned to the provided Status if the workflow in Jira allows it.

Jira Connection Id

String

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

Transition Issue by Status Name Output Fields

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 or Id

String

The Issue Key or Issue Id related to this result.

To transition multiple Issues, this action can be called inside a Loop element in the Flow.

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.

Example Flow to Resolve All Issues linked to a Case when an Case is Closed

The following example will transition all the Issues linked to a Case to the status “Done“ when the Case is closed. Note that this flow will work only when the workflow in Jira allows transitioning Issues to the “Done” status (ideally from any other current Issue Status).

In Salesforce → Flows create a new Record Triggered Flow

Select the Case Object and the conditions as follows:

In the Asynchronous path, add a “Get Records” element to retrieve relationships from the junction object Case Issue

Add a Loop element to iterate over each relationship (the result of the previous Get Records element)

Add the “Transition Issue by Status Name“ zAgileConnect Action in the “For Each” section of the loop. Pass the Issue Key to transition (value from the loop iteration) and the Issue Status

Finally Save and Activate the flow. Then go to a Case with linked Issues and update the Case Status to Closed, all linked Issues must be automatically transitioned to “Done“ in Jira.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.