/
Navigation Menus – CQL search

Navigation Menus – CQL search

How to add a CQL search to generate dynamic links:

Click on the “Edit menu structure “ icon to open the menu structure

Bildschirmfoto 2024-04-25 um 16.31.07.png

 

Bildschirmfoto 2024-04-25 um 16.30.45.png

Add CQL search

To add a CQL search, activate the toggle in the CQL column

Click in the link field. Add a valid field, value and operator to dynamically generate menu items that are based on the query’s result.

For more information on CQL, check the Atlassian documentation or try out the use cases at the bottom of this page.

Test your query results

Use the preview to test the query and view the results.

CQL results are always displayed in an overlay.

Common use cases for CQL

If you are unsure, what the CQL feature can do for you, here are a few suggestions what it can be used for:

Usecase

Query

Usecase

Query

Pages or Blogpost created by the current user in descending order

contributor = currentUser() AND type IN (‘page’, ‘blogpost’) order by created desc

Content that has been starred by the current user. This will show starred pages and spaces.

favourite = currentUser()

Content that is watched by the current user

watcher = currentUser()

Content that mentions the current user

mention = currentUser()

Find child pages of a parent page. In this example the query will show child pages of a parent page with the ID 123.

parent = 123

Find content created since the end of yesterday.

created > endOfDay("-1d")

Find content modified since the end of yesterday.

lastmodified > endOfDay("-1d")

Content watched by the current user that has been created since the end of the previous day, sorted by creation date in descending order.

watcher = currentUser() AND created > endOfDay("-1d") order by created desc

Have a look at the following documentation from Atlassian for more CQL inspiration: Advanced Searching using CQL

 


Next Step:

Related content

Navigation Menus – Structure
Navigation Menus – Structure
More like this
Navigation Menus – Import/Export
Navigation Menus – Import/Export
More like this
Navigation Menus – Installation
Navigation Menus – Installation
More like this
Navigation Menus – Anonymous menus
Navigation Menus – Anonymous menus
More like this
Navigation Menus – Visibility
Navigation Menus – Visibility
More like this
Issue Picker
More like this