Hello, when a user closes an issue and chooses either the complete, done, or fixed resolution, the time tracking field should not be empty. I don't want to require that field when the resolution is anything else, like clone, won't fix, duplicate.
I can pass this when testing the expression but when I attempt to test it on a real issue, the error message will not show up.
Tried:
issue?.timeSpent == null &&
issue?.resolution?.name == "Complete"
Also tried:
['Complete','Fixed','Done'].includes(issue?.resolution?.name) && issue?.timeSpent == null
Field that I want to not be empty: 
