---
title: "[Includes] Custom Fields - Search Templates"
canonical: "https://support.appfire.com/space/JMCFC/465371306/%5BIncludes%5D%20Custom%20Fields%20-%20Search%20Templates"
format: markdown
---
> Macro (aura-html)

Currently, there are no specific search templates for custom fields created with JMCF; currently the only search template available is **Forge custom field searcher**, the default search template for Jira Forge apps. Because JMCF uses native data types, the fields are generally searchable using JQL and basic search. However, there are some differences between search in Jira Data Center and Jira Cloud: 

- **Time in Status** values are stored in seconds, but can be searched using a variety of representations, including by number of days (days or d), hours (hours or h), minutes (minutes or m), and seconds (seconds or s). This includes combinations of these units. Some examples include:
  - `2days3hours42minutes17seconds`
  - `2d3h42m17s` - 2 days, 3 hours, 42 minutes, 17 seconds
  - `7h15m`- 7 hours, 15 minutes
  - `485903` - 485,903 seconds

For example, the JQL query `TimeInCurrentStatus > 9h30m` will search for all issues with a value greater than 9 hours 30 minutes (34200 seconds) in the field **TimeInCurrentStatus**.

- **Time in Status Table** values are stored in seconds, and total time is stored for both individual status values (Sub-Status Times), and for the work item as a whole (Total Time). These values can be accessed using the following syntax (where *myTime* is the custom field name):
  - `myTime.Total` - Access the total time for all statuses included in the field.
  - `myTime.ToDo` or `myTime.Blocked` - Access the total time for status values of *ToDo* or *Blocked*.
- Additionally, both **Time in Status** fields and **Time in Status Table** fields can be searched using a custom JQL function - `jmcfDuration`. This JQL function accepts an argument of a time value in narrow format (w,d,h,m,s). For example:
  - `myTime.Total > jmcfDuration('5h')` checks that the total time (all status values cumulative) is greater than 5 hours.
  - `myTime.ToDo < jmcfDuration('3d')` checks that the issue has been in the **To Do** status for less than 3 days.
  - `myTime.InProgress >= jmcfDuration('2w 3d 30s')` checks that the issue has been in the **In Progress** greater than or equal to 2 weeks, 3 days, and 30 seconds.

> 📝 Search template flexibility will be expanded in later versions of **JMCF for Jira Cloud **as the Forge team introduces more capabilities for search.