> For the complete documentation index, see [llms.txt](https://docs.yansalabs.com/jira-integration-framework/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yansalabs.com/jira-integration-framework/technical-docs/spoke-actions/issue-get.md).

# Issue :: Get

## Summary

Retrieves the JSON representation of a JIRA Issue using the asynchronous request queue. Retries are automatically handled.

## Action Inputs

| Label                      | Name                          | Type                                       | Mandatory | Description                                                                                                                                                                                                                 |
| -------------------------- | ----------------------------- | ------------------------------------------ | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Linkage                    | linkage                       | Reference (Reference: Jira Record Linkage) | No        | \[optional] The JIRA Linkage record that ties an issue to a SN record. If this is not supplied, you must supply a Connector and an Issue ID or Key value                                                                    |
| Connector                  | connector                     | Reference (Reference: Jira Connector)      | No        | \[optional] The sys\_id of the connector to use (this is only used if the 'linkage' is not set)                                                                                                                             |
| Issue ID or Key            | issue\_id\_or\_key            | String                                     | No        | \[optional] The JIRA issue ID or Key of the issue to retrieve (This is only used if 'linkage' is not set)                                                                                                                   |
| Execute ASAP               | execute\_asap                 | True/False                                 | No        | \[optional] Whether to run this as an asynchronous business rule when the record gets created or wait for the job to pick it up in relative order on the queue                                                              |
| Fields to Return           | fields\_to\_return            | String                                     | No        | \[optional] comma-separated list of fields to include in the response. This can be used to retrieve a subset of fields. A particular field can be excluded by prefixing it with a minus. (default: All fields are returned) |
| Expansion Options          | expansion\_options            | String                                     | No        | \[optional] Comma separate list of attributes of the Issue that are typically hidden in responses (default: false)                                                                                                          |
| Issue Properties to Return | issue\_properties\_to\_return | String                                     | No        | \[optional] Comma-separated list of issue properties to include. You can also include only specified properties or exclude some properties with a minus (-) sign. (default: include none)                                   |

## Action Outputs

| Label         | Name           | Type                                       | Mandatory | Description                                                                                 |
| ------------- | -------------- | ------------------------------------------ | --------- | ------------------------------------------------------------------------------------------- |
| Request       | request        | Reference (Reference: Async Request Queue) | No        | The original asynchronous request queue record used to make the request                     |
| Success       | success        | True/False                                 | No        | Whether the communication and response was as expected                                      |
| Log           | log            | String                                     | No        | Scripted log statements of activities that took place during the operation of this activity |
| Retry Request | retry\_request | Reference (Reference: Async Request Queue) | No        | If there were Retries used in the process, the last retry record is returned                |
| Issue JSON    | issue\_json    | String                                     | No        | The resulting JSON representation of the JIRA Issue                                         |

## Notes

* This action belongs to the **JIRA Request Queue** category.
* This action includes reference fields that link to other tables in ServiceNow:
  * references the table.
  * references the table.
* 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.
