Skip to content

Jira Software Conditionals

Conditionals or Execution Conditions give you the power to decide if a particular action on Jira Software will be performed or not when the workflow is triggered by the incoming event. This is similar to applying "if-then-else" logic to the execution of an action based on the attribute value coming from the workflow's trigger event.

You can add conditions to any action in your workflow.

To decide which actions should be performed in response to a particular trigger based on its characteristics or the data attributes. you can even apply a complex logic using AND, OR, and grouping of such conditions.

Each of the Conditionals support different operators based on the passed data type like string, number, boolean, etc. Read here to learn more about Execution Conditions.

Example Scenario

We will take a scenario where you are using Jira Software as the trigger application. There could be multiple application actions that could be invoked upon receiving a Jira Software trigger.

Each of the actions in the flow would have its own execution conditions based on the data attributes of the Jira Software trigger event. This will allow each of the actions to execute independently based on the defined execution conditions.

In this example, the workflow is triggered when a new entity is created in the Jira Software account and it has two actions, first is a "HubSpot create ticket" action, and the second is a "Slack send message" action.

While using Jira Software as the trigger application, various attributes depending on your entity selection will be available to you in your application actions.

For eg. If you chose Issue entity, then the following attributes will be available:

  • Issue Type - Type of the issue.
  • Project Name - Project Name in which issue will be created.
  • Project Key - Key of the project in which issue will be created.
  • Created At - Created time of issue.
  • Priority - Priority of the issue.
  • Summary - Summary of the issue.
  • Description - Description of the issue.
  • Issue Key - Key of the issue
  • Reporter - Reporter of the issue.
  • Assignee - Assignee of the issue.

In Figure 1 below, the action on HubSpot will only be performed if the Priority of the issue equals Highest AND Issue Type of the issue equals Bug.

Conditional Processing in Connect iPaaS

Figure 1. Conditional Processing in Connect iPaaS

Similarly in Figure 2 below, in the same workflow, a message from Slack will only be sent if the Summary of the issue contains issue AND Created At time of issue will be after 11/18/2020, 10:08 AM.

Conditional Processing in Connect iPaaS

Figure 2. Conditional Processing in Connect iPaaS