# 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.


---

# 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-status-mapping-entry.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.
