Skip to main content

Module create

Module create 

Source
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§

ResolvedConfluenceCreate
Resolved inputs for creating a Confluence page, plus shadowed-field records.
ResolvedJiraCreate
Resolved inputs for creating a JIRA issue, plus any shadowed-field records.
ShadowedField
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. Returns body unchanged when nothing was shadowed.
resolve_confluence_create
Resolves a JFM document plus explicit overrides into Confluence create fields.
resolve_jira_create
Resolves a JFM document plus explicit overrides into JIRA create fields.