---
title: "Assign Issue to Specific User Role"
canonical: "https://support.appfire.com/space/JEPC/11338116/Assign%20Issue%20to%20Specific%20User%20Role"
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)**.

> Macro (excerpt)
> 
> <span style="color: #000000">Post function to enable you to assign an issue to a user within a specified role.</span>

<span style="color: #000000">When the transition is executed, the issue will be assigned to a user in a specified role. It is possible to assign the issue to a random user with that project role or to a user with that role who has been the assignee of the issue before. </span>

<span style="color: #000000">Please keep in mind that if you use this post function within "Create Issue Transition", the post function should be placed right after the </span><span style="color: #000000">**Creates the issue originally**</span><span style="color: #000000"> statement.</span>

### To add the Assign Issue to Specific User Role 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. Select **JEP - Assign Issue to Specific User Role Post Function** and then click the **Add** button.
6. Select the **project role** and enable **Last Active User In Role** if you want to assign the issue to the user who was the most recent assignee (according to the project role) for that issue.
7. Click **Add**, and you’ll be redirected to the *Post Functions* list.
8. Don’t forget to click **Publish Draft** to publish the workflow and save your changes.