This page describes and gives examples of the Jira-Confluence Issue Macro.
The Jira-Confluence Issue Macro as it shows up in the Page Editor. |
Description
This macro is used with the Jira-Confluence Issue Macro to define a template block that will be used to render JIRA issue field values on one or more issues.
For instructions on adding this macro in a Confluence page, see: Finding and Adding the Macros.
Code Examples
The following examples are provided for advanced users who want to inspect or edit the underlying markup for a Confluence page.
Macro Name: jira-confluence-issue-macro
Macro body: Accepts rich text.
Parameter name | Required | Default | Parameter description and accepted values |
---|---|---|---|
jcimApplicationLink | Yes | (default linked JIRA server) | This lets you specify which linked JIRA server to pull issue data from. |
jcimQuery | Yes | null | The query to use to get the issue(s) to use in the body. The following values are accepted:
|
The Edit Macro dialog box for the Jira-Confluence Issue Macro |
Storage Format Example
<ac:structured-macro ac:name="jira-confluence-issue-macro"> <ac:parameter ac:name="jcimQuery">issuekey in (TEST-1)</ac:parameter> <ac:parameter ac:name="jcimApplicationLink">c074c52d-5bed-389b-8b79-86b3ef4ef802</ac:parameter> <ac:rich-text-body> <p> </p> </ac:rich-text-body> </ac:structured-macro>