Hi,
We want to achieve the below scenario, when the ticket transitions from ‘In Progress’ to ‘In testing’:
- The ticket should get automatically assigned to ‘QA responsible’ field (Custom field -User type)
- And if QA responsible field is undefined, then assign to the QA Lead (fixed user)
To achieve this I tried below combination
- Post function on the workflow to auto assign to QA Lead and
- Jira automation to reassign to ‘QA responsible’.
However when the ‘QA responsible’ field is not defined this doesn't work; because the ticket first gets assigned to QA lead and then gets unassigned because the QA responsible is not defined, so problem remains unsolved .
If this has to be done via code in Automation, then can you please give me the exact code.