Expand description
Shared create-from-frontmatter resolution for the CLI and MCP create paths.
Both omni-dev atlassian {jira,confluence} create and the MCP
jira_create / confluence_create tools resolve a JFM document
(frontmatter + body) plus explicit overrides into the fields needed to
create an issue/page. Keeping that logic here — instead of duplicating it
per surface — is what lets the read → edit → create round-trip behave
identically on the CLI and over MCP.
Structs§
- Resolved
Confluence Create - Resolved inputs for creating a Confluence page, plus shadowed-field records.
- Resolved
Jira Create - Resolved inputs for creating a JIRA issue, plus any shadowed-field records.
- Shadowed
Field - A frontmatter field that was present but shadowed by an explicit flag/parameter override. Recorded so callers can warn the user that their frontmatter value was ignored.
Functions§
- create_
resolved_ jira_ issue - Creates a JIRA issue from resolved fields.
- prepend_
warnings - Prepends one warning line per shadowed field to
body, for in-band (MCP) surfacing. Returnsbodyunchanged when nothing was shadowed. - resolve_
confluence_ create - Resolves a JFM
documentplus explicit overrides into Confluence create fields. - resolve_
jira_ create - Resolves a JFM
documentplus explicit overrides into JIRA create fields.