Simple Search Macro

 

 

The Simple Search macro provides you with an interactive issue searcher directly on your Confluence page.

Use Simple Search to filter linked Custom Charts at the click of a button.

 

Adding Simple Search to your Confluence page

To use Simple Search, add the Custom Charts - Simple Search macro to your page as you would add any macro.

 

 

To set up your Simple Search:

  1. Start by setting a Source for the Simple Search gadget - select a Project, Saved filter or JQL query (For more information on Simple Search Source, check out https://ossapps.atlassian.net/wiki/spaces/CCFC/pages/2119958533 in our FAQ)

    1. If you need some help writing your JQL query check out our quick getting started guide

  2. Select fields to display under Simple Search Fields on the right side of the screen. Select from custom fields in your Jira instance or from Simple Search fields.

    1. You can drag and drop to reorder the fields, click on the pencil to customize how the fields display, or click the trash can to remove a field that you’ve added.

  3. Once the fields are displayed on the left side in the Live Preview you can select options from the fields. Whatever you select here in the editor will be saved as the default configuration for users viewing the page.

  4. If you want to create another default configuration, simply turn on Tabs and repeat steps 1 & 2.

When selecting your default configuration, you can choose your operator to adjust the JQL to be AND, OR, NOT. This allows you to do things like easily exclude certain values from the results returned.

 

 

Up to 5 tabs can be added, and the default configuration is unique per tab. Each tab can be renamed or reordered by dragging and dropping. Select the trash can to remove a tab and its configuration.

Enter in a Title along the top to customize your Simple Search even further!

 

Using Simple Search Fields

In addition to selecting from custom fields in your instance, there are a few special Simple Search fields that are available to be added.

Simple Search Field

Description

Simple Search Field

Description

1

Custom JQL toggle

This field allows you to enter in your own JQL to appear as a button on the Simple Search view. You can display the JQL as written, or give it a name that’s easier to read.

2

Saved Filters - Single toggle

This field allows you to directly link to an existing Saved Filter, rather than entering the JQL into Simple Search.

3

Saved Filters - Multi-select

This field allows users viewing the dashboard to select from existing Saved Filters.

4

Contains text search

This field searches Summary, Description, Comments, and text custom fields.

Dark Mode

Just like Custom Charts, Simple Search can be viewed in Dark mode or Light mode. Dark mode changes the colors of your Simple Search macro for all users viewing the page. There are two ways to turn dark mode on/off.

  1. Select the Sun/Moon icon in the Live Preview

  2. Toggle Dark Mode on/off in the Display Settings

 

Light Mode

Dark Mode

Light Mode

Dark Mode

 

Display Options

Setting

Description

Setting

Description

Show Order by selector

Disabling this option will remove the ability to sort the issues filtered by the Simple Search macro.

Allow users to add fields in view mode

Disabling this option will prevent users from being able to add other fields to Simple Search while viewing the page.

Show description

This option will show/hide the text entered on the Description tab. You also have the ability to display the description at the top or bottom of the Simple Search macro.

Dark Mode

Dark Mode can be enabled and disabled using this option, or under display options or by selecting the moon/sun icons on Live Preview.

 

Import/Export

Just like Custom Charts, if you want to export your configuration to import into another macro, or on another page, just navigate to the Import/Export tab and select Copy to clipboard. Paste the configuration into the box at the bottom in your desired macro. This will import the configuration of your macro, including the Source, fields, and defaults.

 

 

Connecting Simple Search to a Custom Charts macro

Once you’ve set up your Simple Search macro how you like it, the next step is to connect it to your Custom Charts macros so it knows which charts to filter.

To connect a Simple Search macro to a Custom Chart:

  1. Add a Custom Jira Charts for Confluence macro to your dashboard

  2. Edit the Custom Charts macro

  3. Select Simple Search macro from the Source dropdown selector

  4. Once selected, you’ll see the Reference ID from each Simple Search macro on the page

    1. If you have multiple Simple Search macros on one page, simply edit the Simple Search to find the Reference ID

 

Tip! Multiple Custom Charts can be connected to a single Simple Search macro.

 

Once the macro is saved and connected to Custom Charts, users can select from the fields that are shown, and if allowed, filter by adding custom fields.

These fields won't be saved when the page is refreshed, so each user can create their own custom search.

 

Clicking the “Search” button on the Simple Search macro updates all the linked charts to be filtered by your selections.

Sort the results to order the issues returned in each of the linked charts. Order by ascending or descending.

 

Select Show JQL to view the full JQL query used by the Simple Search macro.

Edit the JQL query used by the Simple Search macro for more granular control.

Reset the search and view the Simple Search ID using the actions menu.

 

Try it yourself!