ION Actions Best Practices
Overview
1. Rule Execution and Behavior
Chained Execution
Avoid Top-Level return Statements
if issue.status == "Closed":
return # ❌ This stops execution of all following rules for this eventUse Nested Returns Instead
if issue.status == "Closed":
def handle_closed_issue():
# Logic specific to closed issues
return "Handled closed issue" # ✅ Nested return affects only this function
handle_closed_issue()Safely Accessing Context Values
Additional Recommendations
2. Rule Development and Deployment
Version Control and Collaboration
Deployment Process
Governance and Documentation
3. Action Context Filters
Last updated
Was this helpful?