How to limit assignee options based on Jira project components?

Hey everyone,

I’m trying to figure out how to set up our Jira project in a way that makes assigning tasks easier. We’ve got two main groups: the server team and the client team. Right now, we’ve set up components for both server-side and client-side work.

What I’m aiming for is to have the assignee dropdown filter so that for a server-side task, only server team members are shown, and for a client-side task, only client team members appear.

Is anyone aware of a method in Jira to achieve this? It would greatly help in making sure tasks go to the right people and streamline our workflow.

Thanks in advance!

I’ve dealt with this exact issue in my organization. While Jira doesn’t have a native feature for this, we found a workaround using Jira’s role-based access control (RBAC).

We created two project roles: ‘Server Team’ and ‘Client Team’. Then, we assigned the appropriate team members to each role. In the project’s permission scheme, we set it up so that only members of the ‘Server Team’ role could be assigned to server components, and likewise for the client side.

It’s not perfect - you still see all users in the dropdown, but it prevents incorrect assignments. Plus, it’s easier to maintain than custom fields or scripts. Just remember to keep your role memberships updated as team changes occur.

This approach has significantly reduced assignment errors for us and improved our workflow efficiency.

heya, i’ve got a trick that might work for ya. try using jira’s ‘group’ feature. make groups for server and client teams, then link those to ur components. when assignin tasks, jira’ll only show peeps from the right group. it’s not perfect but it’s pretty close to what ur after. good luck!

I’ve encountered a similar situation in my team’s Jira setup. Unfortunately, Jira doesn’t offer a built-in way to directly link components to assignee options. However, there’s a workaround that might help.

Consider using custom fields and a scripted field. Create a custom field for ‘Team’ with options like ‘Server’ and ‘Client’. Then, set up a scripted field that populates the assignee options based on the selected team. This requires some Groovy scripting knowledge and admin rights.

Alternatively, you could use Jira’s automation rules to automatically assign tasks to the correct team based on the component. While not exactly what you asked for, it could achieve a similar result by ensuring tasks always end up with the right team.