...
Variable | Description |
---|---|
{{issue}} | The issue that triggered the request. (or was in context of the scheduled job). Note: Scheduled RINT integrations will only have an issue if an issue context scope has been defined. |
{{now}} |
|
{{baseUrl}} | The Jira instance base url |
Defining custom variables from a response
...
Define custom variables by defining them in the variables section of the child integrationaction.
Set the variable name followed by the JSONPath expression.
See JSONPath for tutorials examples on how to define your JSON path for your use case
Automatic response variables
By choosing "Auto populate response variables
" the child action will automatically parse the response JSON and add top-level variables to the variable scope.
Example JSON response from parent action:
Code Block | ||
---|---|---|
| ||
{
"gender": "male",
"name": {
"title": "mr",
"first": "sal",
"last": "van ballegooij"
},
"location": {
"street": "1978 predikherenstraat",
"city": "oldenzaal",
"state": "groningen",
"postcode": 32432,
"coordinates": {
"latitude": "46.8524",
"longitude": "-179.9888"
},
"timezone": {
"offset": "+5:00",
"description": "Ekaterinburg, Islamabad, Karachi, Tashkent"
}
}
} |
Will result in the following variables being available:
{{gender}} - The String "male" in this case
{{name}} - An object, use "." notation to drill down. Ie. {{
name.title}}
for "mr"
{{location}} - An object, use "." notation to drill down. Ie. {{
location.coordinates.latitude}} for "46.8524"
Issue object
You may access the issue object by using the {{issue}}
variable notation followed by the getter that you would like to retrieve.
...