Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Execute CQL query in user macro

I would like to write a user macro to display a set of pages fetched on base of a cql query. How can I user the search service to execute such a cql query in a user macro?

1 answer

0 votes
Pramodh M Community Leader Jan 10, 2022

Hi @confluence-administration_datev_de 

It seems like a complex requirment

Would you please specify on what basis you need to display the pages in your confluence instance

Based on that we will decide if you need cl or basic search

Thanks,

Pramodh

@Pramodh M Thank you very much for your quick response. I would like to build a user macro to show little thumbnails from selected pages. This is already working for direct child pages of a page. I would like to enhance this macro to do following:

- showing all childs and grandchilds of a page

- showing a set of pages based on a cql passed in by the editor of the page

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.13.2
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

43,893 views 33 137
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