As a automation rule writer
I want an action to call another rule
So I can reuse rule logic, reducing errors and maintenance costs
- Add a new trigger for a rule can only be called from another rule
- Add an action to trigger another rule. This action cannot call the owning rule, reducing the chance of recursion.
- The called rule can be optionally passed an issue key
When logic is duplicated between rules, errors can occur when the rules get out of sync. This duplication can also lead to sprawling rules which are longer than necessary. The ability to reuse logic would prevent both of these issues.