Jira Integration Framework
HomeBlogDocsContact
  • Overview
    • Try It!
    • Introduction
    • Key Features
    • Reviews
  • Technical Docs
    • Getting Started
    • Spoke Actions
      • Additional Information Payload - Add Attribute
      • Get Array of Attachment Objects from Issue Payload
      • Additional Information Payload :: Add Attribute
      • Get Journal Entry by Created On
      • Get Applicable JIRA Issue Type
      • Get Applicable JIRA Project
      • Get Status Mapping Entry
      • Inbound Map :: Process
      • Issue :: Synchronize Attachments
      • Jira Field :: Get Field Name
      • Linkage :: Get Available Transition ID for Status
      • Send Record Attachments to Jira
      • Webhook :: Get Changelog Data Components
      • Webhook :: Get Webhook Data Components
      • Get Setting Value as a String
      • JSON :: Get attribute value
      • Comment :: JIRA Panel Format
      • Comment :: JIRA Panel Type Format
      • Check request status
      • Outbound Map :: Generate Payload
      • Comment :: Add
      • Comments :: Get
      • Issue :: Change Logs :: Get by IDs
      • Issue :: Create
      • Issue :: Do Transition
      • Issue :: Get Watchers
      • Issue :: Get
      • Issue :: Set assignment directly
      • Issue :: Set assignment via Rules
      • Issue :: Update
      • Migrate Attachment from Jira
      • Record :: Import Comment from JIRA
      • Record :: Import Issue from JIRA
      • Remote Issue Link :: Add
    • Available Components
      • UI for Creating a New Jira Issue
    • Logging
    • Troubleshooting
    • Privacy Policy
  • SUPPORT
    • Patches & Hotfixes
Powered by GitBook
On this page
  • Summary
  • Action Inputs
  • Action Outputs
  • Notes
  • Example Usage
  • Example 1: Basic Usage
  1. Technical Docs
  2. Spoke Actions

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

Label
Name
Type
Mandatory
Description

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

Label
Name
Type
Mandatory
Description

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.

PreviousGet Setting Value as a StringNextComment :: JIRA Panel Format