# Get Applicable JIRA Project

## Summary

Takes a ServiceNow record and runs it through the JIRA Association Rules to determine what Project to use in JIRA

## Action Inputs

| Label           | Name              | Type   | Mandatory | Description                                    |
| --------------- | ----------------- | ------ | --------- | ---------------------------------------------- |
| SN Record SysId | sn\_record\_sysid | String | No        | The sys\_id of the source record in ServiceNow |
| SN Record Table | sn\_record\_table | String | No        | The table of the source record in ServiceNow   |

## Action Outputs

| Label   | Name    | Type                                | Mandatory | Description                                                                                                 |
| ------- | ------- | ----------------------------------- | --------- | ----------------------------------------------------------------------------------------------------------- |
| Log     | log     | String                              | No        | Any log statements from the operation                                                                       |
| Project | project | Reference (Reference: Jira Project) | No        | The proper JIRA Project for the source record in ServiceNow based off of the JIRA Project Association Rules |
| Success | success | True/False                          | No        | A proper association was made successfully                                                                  |

## Notes

* This action belongs to the **JIRA Framework Logic** category.
* 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/get-applicable-jira-project.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.
