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?
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"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.