Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Introduction

...

Similar to CQL Search https://akeles.jira.com/wiki/spaces/CQLC/overview?homepageId=2411692199#CQL-Search-Macro , this macro allows you to execute contextual searches with predefined CQL.

Results are displayed in a table with configurable columns.

Image RemovedImage Added

Configuration

...

Field Name

Required

Default Value

Explanation

Additional Information

CQL


(tick)

Enter a CQL statement with $$query$$ or $$query*$$ as the search term.

Default Term



Enter a default query term to replace the $$query$$ in CQL.
Search results will be preloaded if it is provided.

Search Type

Contains

The searching can done with three type searches.

  • Exact Match – Find contents that contains the exact word

  • Start With – Find contents that starts with the word

  • Contains – Find contents that partially matches the word

No. of Results per Page

10

Select the no. of results to be displayed:

  • 5 — Pagination will occur if there are >5 search results

  • 10 — Pagination will occur if there are >10 search results

  • 50 — Pagination will occur if there are >50 search results

  • 100 — Pagination will occur if there are >100 search results

If there are more results than the selected no. of results to display, pagination will occur.

Custom "No Results Found" message



Enter a customised message when no results are found.

Table Template


title, space, modified

Select the template to use for results table.

  • s/n

  • title

  • space

  • type

  • created

  • modified

  • creator

  • modifier

  • labels

  • version

  • comments

Separate template values using ",". See default value for example.

Template Header



Enter customised headers to replace default template header.

If not provided or provided incorrectly, specified header will not be applied.

Search Bar

Show

Indicate whether to display the search bar

...