build_jira_automation
Builds ServiceNow Flow Designer artifacts (flow, trigger, conditions, actions) from a Jira Automation rule after user confirmation. Skips non-automatable steps; manual guide covers them.
Instructions
Builds the ServiceNow Flow Designer artifacts for a Jira Automation rule. Creates the flow record, trigger, condition blocks, and action steps. Steps that cannot be automated are skipped — the manual build guide explains what to do. Only call this after analyze_jira_automation and user confirmation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rule_id": "<rule_id>",
"sn_table": "<sn_table>"
},
"name": "build_jira_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule_id | Yes | Jira Automation rule ID | |
| sn_table | Yes | ServiceNow table the flow will operate on | |
| flow_scope | No | Scope prefix for the SN flow name (e.g. custom, global) | |
| field_mappings | No | Jira field name → SN field name overrides |