Fixed in Bundle custom field search doesn't work as expected in betweenVersions() JQL function

Description

Bugs are being reported on the Component Version for the Affects Version/s and Fix Version/s fields.
Each Component Version belongs to one-or-many Bundles.
We expect that if we want to search for the Bugs that are fixed between Bundle Versions that we can use the Fixed In Bundle field in combination with the betweenVersions JQL function, however this doesn't return any issues as expected.

E.G., given:

  • there is a Bundle A with version "Bundle A, Version 1.0.0"

  • there is a Bundle A with version "Bundle A, Version 20.0.0"

  • there is a component version, with version "component, 2.0.0"

  • component version belongs to some Bundle between versions 1.0.0 and 20.0.0 above

  • an issue is fixed with fix version "component 2.0.0" (but not explicitly also it's Bundle version)

Then this JQL statement should return that issue:
project = SOMEKEY and "Fixed In Bundle CustomField" in betweenVersions("Bundle A, Version 1.0.0","Bundle A, Version 20.0.0")

Actual result is no issues returned.

Environment

Server, self-hosted

Assignee

Deniz Oğuz

Reporter

Christina Jenks

Labels

None

Source

None

Jira Version

Database Type/Version

PostgreSQL 9.4.24

Browser Type/Version

Chrome

Fix versions

Affects versions

Priority

Major
Configure