Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Page template with property used in JIRA issues macro Edited

Hi everyone,

In my organisation we're creating a Release note page for every single app's release to present informations what has been fixed when based on info from JIRA (JIRA issues macro is used). Right now, after every release we manually clone previous release page and edit it to adopt for a new one. It would be perfect If I can create a template, so a user will need to define $version property only and then it would be used in JQL qury e.g. like that:

$jqlQuery = "project = ProjectName and fixVersion in ('$version')"

so it could be used by macro like that:

{jiraissues:anonymous=true|jql=$jqlQuery}

Unfortunatelly from what I can see in JIRA issues macro doc I can't just use JQL query as macro property.

I'm using Confluence for over a year, but I never treated it more than a documents aggregator and I would like to understand better what it is capable for.

 

Edit (19/04/2018)

So I managed to use $version in JQL query directly and defined JIRA issue macro like that:

{jira:project = ProjectName AND version = ('$version')}

but to do it I needed to start typing $version in a new line and after editor defined it as  variable I've wrapped it in {jira:project = ProjectName AND version = ('$version')} , but Confluence won't recognise it as a macro - to do it I need to manually remove "}" at the end of macro definition.

2 answers

I have the exact same issue here: I would like to create a Confluence template (or even just a custom macro) using a Jira macro to show a table of issues. The JQL used inside the macro should use a value set by a Confluence template variable. 

I have found several pages that seem related:

 https://community.atlassian.com/t5/Confluence-questions/Jira-search-JQL-using-variables/qaq-p/22287

https://community.atlassian.com/t5/Confluence-questions/variable-in-confluence-jql-issues-macro/qaq-p/48346

They give a nice solution, but it only works on Server, and I'm running Confluence / Jira Cloud. 

Has anyone figured out a way to do this in Confluence Cloud?

Having the same issue, did you ever figure this out?

Today I have discovered Blueprints templates in Confluence and templates from JIRA section (Status Report Template and Dynamic JIRA Report Template) do exactly what I need! There is the option to edit them, but JIRA macros seem to be represented by variables, e.g. $jiraissuescountmacro variable here:

Screen Shot 2018-04-20 at 09.56.41.png

Is there any option to edit them? I'll play with Create a blueprint-style report guide - I have a feeling it's what I'm looking for

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Miss the Confluence demos at Team 21? Watch them here!

Phew, Atlassian Team 2021 blew by. With dozens of demos and a handful of keynotes, you may have missed some of the awesome Confluence Cloud sessions. Don't' worry, you can watch them all here or on Y...

308 views 2 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you