Select assignee base on current user (assigner) role

Nguyen Q Bao June 2, 2018

Hello,

Please help in selecting assignee in the following case:

The company has following roles:
- Director

- Development Manager

- Development Members

- Sales Manager

- Salesmen

I've configured Project Roles,  Assign Issues, Assignable User and tried some plugs on custom fields but all of these seem not achieving my requirements as below:

- Director can assign to anyone, the assignee user list should show all users.

- Development Manager can assign to Development Members only.

- Sales Manger can assign to Salesmen only.

Any suggestion appreciated.

Thanks.

 

1 answer

0 votes
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 8, 2023

Hi @Nguyen Q Bao 

Out of the box on Jira you can't do this thing. Your best case is to use scriptrunner and develop a script. E.g. scriptrunner provides a built-in post function which you can take and make it work as a "Behavior" https://docs.adaptavist.com/sr4js/latest/features/workflows/post-functions/built-in-post-functions/assign-to-first-member-of-role

And just to be clear, since you want people to be able to assign to a specific group of people, then you want to try to control it via a behavior and not a post function.

Suggest an answer

Log in or Sign up to answer