You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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
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.
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