---
title: "Smart Assignment"
canonical: "https://support.appfire.com/space/JEPC/11338039/Smart%20Assignment"
format: markdown
---
> Macro (aura-html)

> ℹ️ This page is about **Enhancer Plugin for Jira Cloud**. Using** Data Center**? **[Click here](https://appfire.atlassian.net/wiki/spaces/JEP)**.

This post function enables you to assign an issue to a user using your choice from a variety of user selection categories and user selection strategies. It is simple to configure and can fit a variety of your needs. You can find a description of its capabilities below.

### To add the Smart Assignment post function, follow these steps:

1. Click the Jira cog icon > **Issues **>** Workflows**.
2. After finding the workflow, go to the three-dots icon and click **Edit**. Navigate to the transition of your workflow.
3. Switch to the **Post Functions** tab.
4. Click the **Add post function **link.
5. <span style="color: #000000">Select </span><span style="color: #172b4d">**JEP - Smart Assignment Post Function **</span><span style="color: #172b4d">and then click the </span><span style="color: #172b4d">**Add**</span><span style="color: #172b4d"> button. </span>
6. Add the required parameters to your post function as explained below:

- Enable **Only if assignee is empty** if you want this post function to execute only when the issue's assignee is set to unassigned.
- Select your **User Selection Category**, and choose between a **Group**, **Role**, **User custom field**, or **Group custom field**. Then add one or many item(s) that belong(s) to your chosen category.
- Select your **User Selection Strategy**, and choose between four different selection strategies. Their functionalities are described in the table below:
  - If applicable, insert your **JQL** statement to filter the issues that will affect your selected strategy

| **User Selection Strategy** | **Description** | <span style="color: #ff0000">**(*) **</span>**Filter Issues with JQL** |
| --- | --- | --- |
| **Simple round robin** | This strategy assigns the users in a circular order, without priority. Every time the post function is executed, the user next in turn is assigned. <span style="color: #000000">Once every user in the user selection pool has been assigned to the issue, the strategy circles back and assigns the issue to first user that was assigned.</span> | :cross_mark: |
| **L**<span style="color: #000000">**ast active user**</span> | <span style="color: #000000">This strategy assigns the issue to the user who was last active in the issue. It takes into account both the issue's change history (for example, the user who last caused a transition) and the issue's comment activity. </span> | :cross_mark: |
| <span style="color: #000000">**Total number of assigned issues **</span> | <span style="color: #000000">** **</span><span style="color: #000000">With this strategy, the user with the least number of assigned issues in total is selected. </span> | :check_mark: |
| <span style="color: #000000">**Total remaining estimation**</span> | <span style="color: #000000">This strategy selects the user with the least remaining estimate in total across all the issues assigned to them.</span> | :check_mark: |
| <span style="color: #ff0000">**(*)**</span><span style="color: #000000"> These user selection strategies also offer the ability to filter the issues onto which those strategies will be applied using a JQL statement. Simply enter your JQL statement and the post function will only consider the issues within the statement's scope.</span> |

7. <span style="color: #000000">Click the </span><span style="color: #000000">**Add**</span><span style="color: #000000"> button, and the post function will now be added to the transition.</span>
8. Don’t forget to click **Publish Draft** to publish the workflow and save your changes.

<span style="color: #000000">For the configuration example above, you should see the following on the transition page:</span>

![image](media://6dd57cf6-0445-4a8f-bf36-6618d5695927)

> ℹ️ #### Please note:
> ℹ️ 
> ℹ️ 1. If your choice of a **user selection category** does not contain any users, the issue's assignee remains unchanged.   
> ℹ️ For instance, this would occur if you choose a **user custom field** whose value has not yet been set.
> ℹ️ 2. If there is more than one user that matches your post function configurations, the assignee will be chosen at random from this group of matched users.   
> ℹ️ For example, assume that you choose the user selection strategy as **total number of assigned issues, **the user selection category as **Group,** and that you add the group *developers.* Assume also that *developers* contains Mark, Jane, and John. If John has 5 assigned issues and Mark and Jane each have 3 assigned issues, the post function will randomly assign either Mark or Jane since they have the same number of least assigned issues.

> Macro (excerpt)
> 
> Enables you to assign an issue to a user using your choice from a variety of user selection categories and user selection strategies.