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
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 |
---|---|
Pages or Blogpost created by the current user in descending order |
|
Content that has been starred by the current user. This will show starred pages and spaces. |
|
Content that is watched by the current user |
|
Content that mentions the current user |
|
Find child pages of a parent page. In this example the query will show child pages of a parent page with the ID 123. |
|
Find content created since the end of yesterday. |
|
Find content modified since the end of yesterday. |
|
Content watched by the current user that has been created since the end of the previous day, sorted by creation date in descending order. |
|
Have a look at the following documentation from Atlassian for more CQL inspiration: Advanced Searching using CQL