templateType | template |
---|
templateOption | {"label":"Use Case livetemplate cloud ready","value":"979936585","templateType":"template"} |
---|
templateTypeOption | {"label":"Confluence template/blueprint","value":"template"} |
---|
templateId | 979936585 |
---|
excerpt | Scenario The following recipe shows how to inject parameters into Atlassian's Jira Issue macro. Wiki Markup must be used as the macro auto-complete does not read the injection. Both Scaffolding and Reporting must be installed with a connection between Confluence and Jira. Result Recipe Apps Scaffolding Forms & Templates for Confluence Server and Data Center, Reporting for Confluence Server & Data Center Level Advanced Estimated time 15 minutes Macros Report On Suppliers Storage format You can copy and paste this code into the Confluence Source Editor : Project: ProjectName text INLINE Start: SprintStart INLINE End: SprintEnd INLINE true INLINE project = %data:ProjectName% AND resolved > %data:SprintStart>date:yyyy-MM-dd% AND resolved < %data:SprintEnd>date:yyyy-MM-dd% ORDER BY priority DESC Macro structure You can recreate the example in the editor view: Steps Create a Text Data macro. Give it a Field Name of " ProjectName ". Change the Content Type to " Text ". Create a Date Data macro. Give it a Field Name of " SprintStart ". Create another Date Data macro. Give it a Field Name of " SprintEnd ". Create a Report On macro. Ensure the Injected parameter is true. Within the Report On macro, create a Jira Issues macro. Enter a JQL query into the Search field. In this example, the query used is: project = %data:ProjectName% AND resolved > %data:SprintStart>date:yyyy-MM-dd% AND resolved < %data:SprintEnd>date:yyyy-MM-dd% ORDER BY priority DESC Line-by-Line Explanation N/A |
---|
fieldGroupKeys | {"6aqnjkbqoz":["net.customware.confluence.plugin.scaffolding__6aqnjkbqoz__data_0_hu8m8q682ak6dqu13ezy"]} |
---|
|