Search date time property for issue field options

We are developing an app that creates a select field, using the Connect Issue Field module.

We are using properties to associate meta data against issue field options. We would like these to be searchable by JQL, so we are using the extractions for the module:

https://developer.atlassian.com/cloud/jira/platform/modules/issue-field-option-property-index

The documentation suggests that date properties “with time” can be searched, but we noticed that this not the case and only dates without time can be searched i.e.

  • [YYYY]-[MM]-[DD] e.g. 2021-03-18

Not:

  • [YYYY]-[MM]-[DD]T[hh]:[mm]Z
  • [YYYY]-[MM]-[DD]T[hh]:[mm]+[hh]:[mm]
  • [YYYY]-[MM]-[DD]T[hh]:[mm]-[hh]:[mm]

as suggested by the documentation. When the time is added, the field cannot be searched at all.

Does anyone know how to index date time field properties so that users can use JQL to search issues by the time property?

1 Like