What are you planning to write the listener in? Your own app, an automation, one of the scripting apps?
You'll also need to come up with logic that can validate that sentence fragment - it's not a query we can code for because it is missing all the context and how you would know something is "correct"
There are a number of scripts you can learn from over at https://library.adaptavist.com/search?term=transition
However, your definition implies you have a problem with your process. Resolution is a field that should be set during a transition, either by asking the user with a screen, or setting it with a post-function.
It is NOT a field your humans or automations should ever be setting in an issue create or edit action. So your listener should never have any chance to fire.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event