JSON :: Get attribute value
Summary
Takes a JSON string and attempts to find an attribute with the specified name. If one is found, it returns the value of that attribute. If one is not found, it can return a default value if it is specified.
Action Inputs
JSON String
json_string
String
No
The JSON string of a JSON object
Name
name
String
No
The name of the attribute in the JSON object
Default Value
default_value
String
No
[optional] If there is no attribute with that name associated with the JSON string, then return this value.
Action Outputs
Success
success
True/False
No
Successfully found a Mapping Entry
Log
log
String
No
Any logging statements that occuring in the process of the action
Error Message
error_message
String
No
If there was an error, that error information will be stored here
Result
result
String
No
The attributes's value as a string representation
Notes
This action belongs to the JIRA Integration Point category.
This action returns 4 output(s) that can be used in subsequent flow steps.
Example Usage
Example 1: Basic Usage
This example demonstrates how to use the action with typical inputs.
Input:
Output:
In this example, the action processes the provided inputs and returns the appropriate outputs. The actual values returned will depend on the specific functionality of this action and the input values provided.