Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Query related to Assignee field

Pratyusha Kar August 2, 2022

Hi. I have a requirement that when an issue is in "In Progress" status following validations needs 

Hi. I have a requirement that when an issue is in "In Progress" status following validations needs to be checked
User with Approver role can assign to User with Promoter role
User with Promoter role can assign to User with Validator/Approver role
User with Validator role can assign to User with Promoter/Approver role

Problem here is the user and assignee can play multiple roles at the same time i e user can have Approver and Promoter role at the same time.

Can anyone suggest me the approach how to get this done?

2 answers

1 vote
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 3, 2022

There is no way to do that directly on the status, you'll need to do some coding.

The way permissions work is that someone with "assign" can assign an issue to anyone who is "assignable".  You can't vary the "assignable" permission based on who the current user is.

You can however prevent issues being moved through the workflow when they've been assigned incorrectly - that's where the coding comes in, you will need to write a validator that can read the issue history for who last assigned the issue, and the assignee, and check if it meets your rules.  If it does not, the validator will halt the transition and tell the user something like "this was assigned by the wrong person"

0 votes
Craig Nodwell
Community Champion
August 2, 2022

Hi @Pratyusha Kar can the user assign to themselves or is this what you are trying to avoid?

Suggest an answer

Log in or Sign up to answer