Wondering if there is a way to force a field to display only when a ticket is being closed? I tried using a validator first and then a post function using "Set issue fields" to do so with no luck:
issue.get("project").key in ["ABCD"] && issue.get("issuetype").name in ["Bug"]
The field is not displaying when the ticket is being closed.