Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Is there a Confluence Macro that can add a JQL statement to additional jira filters ?

asd asd I'm New Here Oct 05, 2020

Every time we set up a new page on confluence for a new release we copy the old one and change its Jira filters.


Is there a macro wich can add a simple jql statement,

for example "Release in (13.0, 13.1)" ,

to the filters of other Macros ?


So that we only have to change one filter each time.

2 answers

I don't think that's possible (to have a filter which can be applied to all filter macros at the same time). 

Workaround could be to open up the copied page with the source editor:

Search for all JQL queries and add / replace the desired releases


Alternatively I would work with the versions in Jira, e.g. just filter for unreleased versions.

3rd option could be to just reference the filter in your JQL queries, e.g. filter = '10100' . That would at least save you a tiny bit of time.

Try PageTree Creator. It allows you to use variables that are being replaced like you may know it from templates. PTC brings a macro that can be wrapped around the original Jira macro. As the Jira macro needs valid JQL before it allows you to save it, you cannot work with placeholders directly. The wrapper takes everything without validation.

So it should look like this:

[PTC Jira macro with JQL "project=MyProject AND release IN (__releaselist__)" [Jira macro with some valid JQL]]

The inner JQL query will be replaced completely so it does not matter what you write here as long as it is valid. The outer macro will vaporize in the final page. 

Suggest an answer

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

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

79 views 0 3
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