Hello,
I am trying to use the issue smart value in a Jira Automation that returns the resolution of the issue when the issue transitioned to done (with certain conditions)
Here's a screenshot of my automation rule:

The rule (audit log shows that it) has run successfully, however I instead of the automation adding in a comment that says "Resolution set to: Won't Do" (which I hope and intend to be outcome), it is instead returning with this statement "Resolution set to: 10018"

Can anyone tell me why this is and how I can fix this?
Thanks,