JSM Cloud with JMWE - I have an event-based action setup to post a public comment back to a customer if they make a comment on a closed case. It's using a Nunjucks condition as below:
{{context.comment.jsdPublic and issue.fields.status.name == "Closed"}}
We recently encountered this comment happening when an internal support agent made the comment (the case wasn't actually closed at the time they were making the comment, they made the comment in context of the close case action, and I think JSM just handled the close action micro-seconds before the comment part).
Any ideas on how to tweak that Nunjucks context to exclude when the comment context was NOT the assignee making the comment?
Hi Jennifer - Welcome to the Atlassian Community!
You should be able to add something to the effect of
initiator != assignee
Hi - thanks @John Funk - somehow I missed notification on your reply. I've added that to my condition and we'll see if that solves things permanently!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.