Using chained REST integration actions is a powerful way of creating complex integrations with ease. A chained action will operate on the same issue(s) as the parent action. The chained, child action, will have the possibility to use the response from the parent action as variables. 


The general flow of an integration

Creating child actions

Create a chained action by clicking the "Create" button. Choose another action as the "Parent" to create this action as a child action.

Set up the child action as by the User Guide

Defining variables from parent action response

Customize variables from the parent response by mapping a variable name to a JSONPath expression. All variables mapped from response will be available in the variable context scope and can be used using the mustache template.

Example response from the parent: 
  "firstName": "John",
  "lastName" : "doe",
  "age"      : 26,
  "address"  : {
    "streetAddress": "naist street",
    "city"         : "Nara",
    "postalCode"   : "630-0192"

"first" JSONPath expression "$.firstName"

"last" JSONPath expression "$.lastName"

"address" JSONPath expression "$.address"

Ie. posting a comment on the issue in the scope

POST URL: your_jira_instance_base_url/rest/api/2/issue/{{issue.key}}/comment


Content-Type - application/json


Basic auth, your Jira user username/pwd


   "body": "{{first}} {{last}} from {{}} says hi!"

A comment: "John doe from Nara says hi!" posted to the issue. 

Read more in the Mustache Variables and the Scenario Examples

Happy ihubbing!