# Issue :: Set assignment via Rules

## Summary

Sets an assignee on the JIRA issue using the asynchronous request queue. Retries are automatically handled.\
The assignee is determined through Assignment Rules

## Action Inputs

| Label                    | Name                   | Type                                       | Mandatory | Description                                                                                                                                                    |
| ------------------------ | ---------------------- | ------------------------------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 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 |
| Linkage                  | linkage                | Reference (Reference: Jira Record Linkage) | No        | \[optional] The JIRA Linkage record that ties an issue to a SN record.                                                                                         |
| Default Assignee Type    | assignee\_string\_type | Choice                                     | No        | If no rule is found to match the condition of the record, what assignee string type should we assume if we are not aborting the action                         |
| Action if No Match found | action\_if\_no\_match  | Choice                                     | No        |                                                                                                                                                                |

## 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                |
| Response JSON | string         | String                                     | No        | The JSON string returned from the API call                                                  |

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