Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 QCL, check the Atlassian documentation.

Test your query results

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

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

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 that watched by the current user is watching and that has been added created since the end of yesterdaythe previous day, including pages and blog posts, sorted by creation date in descending order.

watcher = currentUser() AND created > endOfDay("-1d") AND type IN (‘page’, ‘blogpost’) order by created desc