> 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/get-status-mapping-entry.md).

# Get Status Mapping Entry

## Summary

Takes a JIRA Status value or a ServiceNow Field Value along with optional Project and Issue Type filters to determine the proper JIRA Status Mapping entry within a Status Map set.

## Action Inputs

| Label           | Name              | Type                                   | Mandatory | Description                                                                                       |
| --------------- | ----------------- | -------------------------------------- | --------- | ------------------------------------------------------------------------------------------------- |
| Status Map Set  | status\_map\_set  | Reference (Reference: Status Map Set)  | No        | The Status Map Set record                                                                         |
| JIRA Project    | jira\_project     | Reference (Reference: Jira Project)    | No        | \[optional] filter down to return only a mapping entry that applies to a specific JIRA Project    |
| JIRA Issue Type | jira\_issue\_type | Reference (Reference: Jira Issue Type) | No        | \[optional] filter down to return only a mapping entry that applies to a specific JIRA Issue Type |
| Value           | value             | String                                 | No        | The status value or the value of the ServiceNow field.                                            |
| Value Source    | value\_source     | Choice                                 | No        | Is the value a JIRA Status or a ServiceNow Field 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 |
| Status Mapping Entry | status\_mapping\_entry | Reference (Reference: Jira Status Mapping) | No        | The Status Mapping entry record.                                  |

## 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.
  * references the table.
  * references the table.
* 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.
