Hello everybody,
for a JIRA automation I need a JQL query which shows me only issues which have been build for production and have the particular build number. So that is the query I am using:
deploymentName ~ 297 AND deploymentEnvironmentName ~ Production AND deploymentState ~ successful
But the issue here is, if the ticket had already a deploymentName 297 from the past (for example from a staging deployment) and then in the future has been deployed to production under a different number, this query will still find this issue.
So what I would need is something which checks both variables together in an AND. So find me issues which have been deployed to production with the PRODUCTION deployment name 297.
How can I achieve this?