# Linkage :: Get Available Transition ID for Status

## Summary

Takes a JIRA Status value and a JIRA Record Linkage and determines if there is a transition that gets us to that status. In order to do that, it looks at the Transition Metadata field on the linkage record.

## Action Inputs

| Label               | Name    | Type                                       | Mandatory | Description                          |
| ------------------- | ------- | ------------------------------------------ | --------- | ------------------------------------ |
| JIRA Record Linkage | linkage | Reference (Reference: Jira Record Linkage) | No        | The JIRA Record Linkage record       |
| Status              | status  | String                                     | No        | The JIRA Status ID we are looking up |

## 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 |
| Transition ID | transition\_id | String     | No        | The JIRA Transition ID value                                      |

## 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 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/linkage-get-available-transition-id-for-status.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.
