Does confluence JIRA Macro Filter accept variables?

EmersonP July 28, 2015

Hi,

I have a template on confluence that generates a Release Notes document every week. Inside this document I have many Macro JIRA Filters, and, all the JQL executed is filtering by the field "Version". So, when we generate the Release Notes for the current version, my new Release Notes Page come OK, because I'm using the JIRA Field "earliestUnreleasedVersion()" to do this. But, when I use the template, to generate the next Release Notes, for a new version, the last page stay out of data, because, the JIRA filter is filtering by the "earliestUnreleasedVersion()" and the version is another one at the moment.

I don't want to make a new filter for each Release Notes version that I have, so, does somebody know if this JIRA FIlter Macro accept confluence variables? I'm using confluence v5.6.5 and JIRA v6.3.14. 

I think it would be something like this (example):

AND type=Task AND fixVersion=$version

The field $version is a Confluence variable.

I would be grateful if someone could help me.

Regards,

- Emerson

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
EmersonP July 29, 2015

Hi Tim,

Thanks for the answer, but I need something that not require me to create a new report/blueprint every time that I have to create my Release Notes document page too.

When I generate my Release Notes page (by my template with the variable $versionNumber), this variable is used inside the document, title, tables...etcs. I need this same variable inside the JQL (using JIRA FIlter Macro):

"this AND type=Task AND fixVersion=$versionNumber"

Regards,

 

 - Emerson

Tarun Sapra
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 6, 2016

Did you find the solution to your problem?

Like Kristof Notelaers likes this
Alex Hurtado August 8, 2018

I would be interested in a solution for this problem as well!

Like Kristof Notelaers likes this
Deleted user April 14, 2019

me too

Like Kristof Notelaers likes this
0 votes
Tim Eddelbüttel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 28, 2015

I think the easiest way is to create a blueprint page with a wizard to enter the values.

You can look what the JIRA Report blueprint does.

TAGS
AUG Leaders

Atlassian Community Events