GitHub issue routing (GitHub → IF → Jira → Slack)
快速摘要
触发器
GitHub - New Issue Opened
步骤
6
流程
GitHub - New Issue Opened → Code - Detect labels (bug/feature/security) → IF: Security-related? → IF: Bug? → Jira - Create Issue → Slack - Notify #triage
泳道
4
集成
GitHub, Jira, n8n, Slack
FlowZap 代码
source { # Source
n1: rectangle label:"GitHub - New Issue Opened" system:"GitHub"
n2: rectangle label:"Code - Detect labels (bug/feature/security)" system:"n8n"
n1.handle(right) -> n2.handle(left) [label="Issue payload"]
}
routing { # Routing
n3: diamond label:"IF: Security-related?" system:"n8n"
n4: diamond label:"IF: Bug?" system:"n8n"
n2.handle(right) -> routing.n3.handle(left) [label="Classify"]
n3.handle(bottom) -> routing.n4.handle(top) [label="No → check bug"]
}
tracker { # Tracker
n5: rectangle label:"Jira - Create Issue" system:"Jira"
routing.n3.handle(right) -> tracker.n5.handle(left) [label="Yes → Security"]
routing.n4.handle(right) -> tracker.n5.handle(left) [label="Yes → Bug"]
routing.n4.handle(bottom) -> tracker.n5.handle(top) [label="No → Feature"]
}
notify { # Notify
n6: rectangle label:"Slack - Notify #triage" system:"Slack"
tracker.n5.handle(right) -> notify.n6.handle(left) [label="Created Jira"]
}