Apps documentation
Extension for Jira Service Management
Cloud Server/Data Center
Extension for Jira Service Management

Cloud

Server/Data Center

Guides
FAQ
Release notes
Last updated Feb 1, 2021

Bundled Fields Searcher

Learn how to search for issues that contain Bundled Fields

Note

Remember to always put query parameters in straight quotation marks (either " " or ' ').

Extension for Jira Service Management provides a dedicated searcher. It allows to search issues in Jira which contains a Bundled Fields custom field. There are two options: issue in bundledFieldsEx("", "") (two arguments) and issue in bundledFieldsEx("", "", "") (three arguments).

  • issue in bundledFieldsEx("", "")
Syntax with details Example
issue in bundledFieldsEx("customfield_name", "subfield_value") issue in bundledFieldsEx("Address", "Poland")
It returns all issues which contain Address custom field where one value is Poland.
issue in bundledFieldsEx("Address", "") It returns all issues which contain Address custom field where min. one value is empty.
issue in bundledFieldsEx("customfield_id", "subfield_value") issue in bundledFieldsEx("customfield_10301", "Poland")
It returns all issues which contain custom field with ID = 10301 (in this case: Address) where one value is Poland.
issue in bundledFieldsEx("customfield_10301", "")
It returns all issues which contain custom field with ID = 10301 (in this case: Address) where min. one value is empty.
issue in bundledFieldsEx("id", "subfield_value") issue in bundledFieldsEx("10301", "Poland")
It returns all issues which contain custom field with ID = 10301 (in this case: Address) where one value is Poland.
issue in bundledFieldsEx("10301", "")
It returns all issues which contain custom field with ID = 10301 (in this case: Address) where min. one value is empty.
  • issue in bundledFieldsEx("", "", "")
Syntax with details Example
issue in bundledFieldsEx("customfield_name", "subfield_name", "subfield_value") issue in bundledFieldsEx("Address", "Country", "Poland")
It returns all issues which contain Address custom field with Country sub-field (which value is Poland).
issue in bundledFieldsEx("customfield_id", "subfield_name", "subfield_value") issue in bundledFieldsEx("customfield_10301", "Country", "Poland")
It returns all issues which contain custom field with ID = 10301 (in this case: Address) with Country sub-field (which value is Poland).
issue in bundledFieldsEx("id", "subfield_name", "subfield_value") issue in bundledFieldsEx("10301", "Country", "Poland")
It returns all issues which contain custom field with ID = 10301 (in this case: Address) with Country sub-field (which value is Poland).
Tip
To find an ID of Bundled Field custom field, go to the Issues > Custom Fields. Select custom field, click Edit, and check URL address. Example: http://192.168.0.84:8082/secure/admin/EditCustomField!default.jspa?id=10301

From version 4.5, you can also search using parameters.

Parameter Example
NOT_EMPTY (search by sub-fields which are not empty) issue in bundledFieldsEx("Bundled Field 1 (DF)", "Last name", "NOT_EMPTY")
IN (search by sub-fields which contain selected values) issue in bundledFieldsEx("Bundled Field 1 (DF)", "Select field", "IN", "One", "Two")
NOT_IN (search by sub-fields which don’t contain selected values) issue in bundledFieldsEx("Bundled Field 1 (DF)", "Select field", "NOT_IN", "One", "Two")

You can also search by Date and Date Time sub-fields. Use the following patterns:

  • yyyy-MM-dd hh:mm a
  • yyyy-MM-dd
  • hh:mm a
Operator Example
< issue in bundledFieldsEx("Bundled Field 1 (DF)", "Date","<","2019-04-30")
issue in bundledFieldsEx("Bundled Field 1 (DF)", "Date Time","<","2019-04-30 10:01 am")
issue in bundledFieldsEx("Bundled Field 1 (DF)", "Time","<","08:15 am")
> issue in bundledFieldsEx("Bundled Field 1 (DF)", "Date",">","2019-04-29")
issue in bundledFieldsEx("Bundled Field 1 (DF)", "Date Time",">","2019-04-30 09:55 am")
issue in bundledFieldsEx("Bundled Field 1 (DF)", "Time",">","08:15 am")
BETWEEN issue in bundledFieldsEx("Bundled Field 1 (DF)", "Date","BETWEEN","2019-04-29","2019-04-31")
issue in bundledFieldsEx("Bundled Field 1 (DF)", "Date Time","BETWEEN","2019-04-30 09:50 am","2019-04-30 10:10 am")
issue in bundledFieldsEx("Bundled Field 1 (DF)", "Time","BETWEEN","08:13 am","08:15 am")
Note

If you do not see issues that contain Bundled Field custom field, go to the Issues > Custom Fields. Select custom field, click Edit and check Search Template. Bundled Fields Searcher should be set.

Bundled Fields
Bundled Field searcher