Hi,
we have two production environments that are are somewhat out of sync in regard of feature releases. An issue gets two fixVersions "environment1-<X.Y.Z>" and "environment2-<X.Y.Z>". When we release a version in Jira, lets say "environment1-2.4.3" we would like to check if an issue having that fixVersion also has an "environmet2-X.Y.Z" version that is already released, which would lead to transitioning the ticket with Jira Automation. So JQL condition
fixVersion ~ "environment2-*" AND fixVersion NOT IN unreleasedVersions()
worked well untill we started adding more fixVersions not related to the environment-tags and that are not released. The condition above doesn't work since unreleasedVersions() grabs any fix version that is not released.
Is it possible to check if an issue has a fixVersion matching "environment2-*" and if THAT fixVersion is released.
We have other alternative mechanisms for solving the actual problem, but asking out of interest if the check above is plausible in Jira without addons?