Hello,
I’m trying to set up a Jira automation to send out an email when specific trigger happens. The idea is to send it to all the watchers except for the iniator. I’ve been digging through the documentation but haven’t had any luck. Here are some example I’ve tried:
{{issue.watchers.emailAddress.remove("{{initiator.emailAddress")}} {{issue.watchers.emailAddress.replace("{{initiator.emailAddress", "")}} {{issue.watchers.emailAddress.replaceAll("{{initiator.emailAddress", "")}}
I'm able to produce the smart values independently, it seems that using smart values within the .remove
and .replace
functions doesn't work. I am assuming this is expected and seeing if there ideas for other approaches?
This should work:
{{issue.watchers.emailAddress.remove(initiator.emailAddress)}}
Ste
🤦♂️ Oh my goodness, can't believe I didn't try that variation. Thank you so much!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.