# Additional Information Payload :: Add Attribute

## Summary

Add a new attribute to the Issue's "Additional Information" Payload JSON String

## Action Inputs

| Label            | Name              | Type   | Mandatory | Description                                                                                                                                                                                                                       |
| ---------------- | ----------------- | ------ | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Existing Payload | existing\_payload | String | No        | The current issue body that is going to be modified (optional)                                                                                                                                                                    |
| Attribute Name   | attribute\_name   | String | No        | The name of the attribute as it will be included in the Issue Body Payload. If there are "." characters in the attribute name, then the action will treat it as object dot notation and will traverse the Issue Body accordingly. |
| Value            | value             | String | No        | The value that will be set on the attribute that was specified within the Issue Body payload                                                                                                                                      |
| Value Type       | value\_type       | Choice | No        | String or JSON. If JSON, it will treat the value as an object.                                                                                                                                                                    |

## Action Outputs

| Label                | Name                       | Type       | Mandatory | Description                                               |
| -------------------- | -------------------------- | ---------- | --------- | --------------------------------------------------------- |
| Action Status        | **action\_status**         | String     | No        |                                                           |
| Success              | success                    | True/False | No        | True/False indicating if the action experienced any error |
| Don't Treat as Error | **dont\_treat\_as\_error** | True/False | No        |                                                           |
| New Payload          | new\_payload               | String     | No        | The modified payload string                               |
| Error Message        | error\_message             | String     | No        | If there was an error, the message will be contained here |

## Notes

* This action belongs to the **Helpful Actions** category.
* This action returns 5 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/additional-information-payload-add-attribute-1.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.
