Hi Atlassian Team & Community!
Today I asking myself, if it's possible to create an automatic rule for the case:
If I am as an assignee set my current workitem to the workflow "In Progress", then my older workitems changes to the workflow "Open".
My rule idea is pretty simple:
Trigger Workitem transitioned: From each workflow status to "In Progress"
If-Condition: Initiator belongs to Team Support
Branch for JQL
JQL: assignee = {{triggerIssue.assignee.accountId}} AND status = "In Progress" AND key != {{triggerIssue.key}}
Action: Work item transitioned to: "Open"
When I test this rule, I get an error in the branch: "no related issues found", but the rule runs successful. That means my older workitems don't get transitioned, only the started trigger workitem is changed.
Now I am asking myself, if that's possible to do?
The goal of this rule is part of the bigger project to enable that new tasks will be ranked oder ordered by AI and transfer it to the Kanban board for the next free employees to get the next priority task.
Thank you for your help
Best regards
AS