I would like to create a confluence template where I can enter a variable to get the Jira ID of a task from the user and then use Jira macro to automatically display information from the Jira task on the confluence page.
Is this possible?
The jira sever doesn't seem to understand the query:
Thx in advance
Best
Oliver
Hi @Oliver Lemp , welcome to the Community!
The JIRA-Macro doesn't understand what's on a Confluence page so it can't correspond to any kind of page content including template variables. It requires a JQL query or an issue key as it's designed to pull data from JIRA into Confluence.
You can use variables in a JQL query though. For example,
assignee = currentUser()
as part of the query will return the issues assigned to the author of the Confluence page.
Starting from there, you may build a JQL query that fits your needs and works in a Confluence template.
Kind regards,
Nicolai
Hi @Nicolai Sibler ,
thank you for your quick response.
unfortunately, this approach cannot solve my problem. Anyway my question with the variable and the jira-macro only referred to a kind of intermediate solution.
My goal is to create a template for the user that can create a site with as little redundant input of existing data as possible on the page from which the template is executed. To do this, I would like to take some data directly from the Confluence page, but also from the associated Jira page into the template.
I probably won't be able to provide this without some development effort, and will first design the template to point out to the user where, what input is required. This should be possible with the variables in Confluence.
Thanks again and best regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.