Create template page with parameters
This page is about Easy Integrations for Jira DC. Using Jira Cloud? Click the Cloud button above.
This guide explains how to create Confluence page templates that automatically populate information from linked Jira issues.
Using parameters in templates
Confluence templates allow you to define reusable content with dynamic values. These values are inserted using parameters formatted in two ways:
Double Curly Braces (
{{issue.key}}
): This is the recommended approach for better readability.Dollar Signs (
$issue.assignee
)
Available parameters
|
|
|
|
|
|
|
|
|
|
|
|
Likewise, any parameter that is used in a Jira post function parameter can be used. For example, {{environment}}
.
This page is automatically created via Jira workflow by {{user.displayName}}
.
Issue | {{issue.key}} |
---|---|
Summary | {{issue.summary}} |
Description | {{issue.description}} |
Author | {{issue.reporter}} |
Environment | {{environment}} |
Linking a Confluence page and a Jira issue
Add any Jira issue with Jira macro.
Edit the Confluence page's source (you can use this free app:Â Confluence Source Editor) and change the issue's key toÂ
{{issue.key}}
.Click Apply.
Once the page is created via this post function, the issue will have the Confluence page mention automatically, and the Confluence page will have the Jira link.
The integration user should have permission to browse issues in order to see the link between Jira and Confluence.