# Get Array of Attachment Objects from Issue Payload

## Summary

Returns a list of attachment objects from a JSON string of a Jira Issue

## Action Inputs

| Label | Name  | Type   | Mandatory | Description                                                              |
| ----- | ----- | ------ | --------- | ------------------------------------------------------------------------ |
| Issue | issue | String | No        | A string version of the issue payload that contains the attachments list |

## Action Outputs

| Label       | Name        | Type   | Mandatory | Description                             |
| ----------- | ----------- | ------ | --------- | --------------------------------------- |
| Attachments | attachments | String | No        | An array of attachment metadata objects |

## Notes

* This action belongs to the **Helpful Actions** category.
* This action returns 1 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.yansalabs.com/jira-integration-framework/technical-docs/spoke-actions/get-array-of-attachment-objects-from-issue-payload.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
