Hi, I have two roles:
PrimaryRole and SecondaryRole.
When an issue enters a certain status, the assignee (Primary Role) can use the "Reassign" transition and a post function will assign it to the SecondaryRole. The "Reassign" transitions to itself.
My problem is when the SecondaryRole tries to Reassign it back to the Primary Role. The condition to assign it back is met but the assignee stays the same. I'm not sure why.
Any ideas? Should I be clearer? Thanks!
Mauricio,
Can you post the post function code that makes the assignment and the list of post functions that gets executed in that workflow transition?
Sure:
1. Issue will be assigned to random user among those in project role PrimaryRole, except if current assignee is already in the project role.
Post-function will only be executed if the following boolean expression is satisfied: isInRole(%{Assignee}, "SecondaryRole")
This feature will be run as user in field Current user.
2. Issue will be assigned to random user among those in project role SecondaryRole, except if current assignee is already in the project role.
Post-function will only be executed if the following boolean expression is satisfied: isInRole(%{Assignee}, "PrimaryRole")
This feature will be run as user in field Current user.
The rest are default post functions. 2 works fine. 1, even though is met (i had it update the description if the condition was true) is not making the assignment back to PrimaryRole. Thanks!
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.