# Send Record Attachments to Jira

## Summary

Kicks off a set of asynchronous requests to post attachments from a ServiceNow Record to a Jira Issue

## Action Inputs

| Label               | Name                  | Type                                  | Mandatory | Description                                                                                                                                                  |
| ------------------- | --------------------- | ------------------------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Connector           | connector             | Reference (Reference: Jira Connector) | No        | The connector record (optional - if none is specified, the default connector will be used)                                                                   |
| Table               | table                 | String                                | No        | The name of the table of the source record in ServiceNow                                                                                                     |
| Record SysId        | record\_sysid         | String                                | No        | The sys\_id of the source record in ServiceNow                                                                                                               |
| Issue ID or Key     | issue\_id\_or\_key    | String                                | No        | The Jira Issue ID or Key string                                                                                                                              |
| Max Filename Length | max\_filename\_length | Integer                               | No        | If specified, the system will check on the length of each file name. If it exceeds the number of these specified characters, the filename will be truncated. |

## Action Outputs

| Label         | Name           | Type       | Mandatory | Description |
| ------------- | -------------- | ---------- | --------- | ----------- |
| Success       | success        | True/False | No        |             |
| Error Message | error\_message | String     | No        |             |
| Log           | log            | String     | No        |             |

## Notes

* This action belongs to the **JIRA Framework Logic** category.
* This action includes reference fields that link to other tables in ServiceNow:
  * references the table.
* This action returns 3 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/send-record-attachments-to-jira.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.
