Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Execute CQL query in user macro

confluence-administration@datev.de
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 10, 2022

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 Champion
January 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

confluence-administration@datev.de
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 10, 2022

@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
AUG Leaders

Atlassian Community Events