On this page
Use case
In this use case we will get the assets (formerly insight objects) of a Jira Cloud issue and write the respective object labels to a custom text field.
Prerequisites
For this use case we need a custom action for executing the get assets operation. It should be executed for a Jira Cloud instance.
Configuration
Add the Execute remote action post function to the desired transition or create a new transition and choose the Expert mode.
Select action
Choose the previous created action which we named Get assets.
Select connection
It is automatically preselected with the default connection value of the selected action.
Update issue fields (optional)
Other default options like Response body, Response status or Set field value manually are available in any mode in the post function.
Select the field to be set.
Choose the text custom field to hold the object entry labels.
Set the value manually by using the following parser expression:
%{action.response.objectEntries[*].label}
This parser expression uses the field code Action response details and JMESPath in order to get the information from the response.
Related use cases
If you still have questions, feel free to refer to our support team.