I want to display some insight on dashboard where in I want to search issues based on custom field 'Environment' (have values Prod or Test).
-> If the status is Done for issue in Prod then retrieve the issue
-> if not Done in Prod then retrieve the Issue Done in Test
is it possible with JQL ?