Groovy variables enable more complex mapping of data. It could be that status or date needs to be mapped to other values.
Available scopes
The groovy script has the following objects / variables available
Variable name | Description |
---|---|
issue | the current issue that the call is operating on |
response | the parent response from the previous runned call as String |
jsonSlurper | Use JsonSlurper |
jsonOutput | Use JsonSlurper |
scope | all previous defined variables or responses Example if call A get then call C and c wants to access name it can do so by using scope.name |
See examples