Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Compare watchers against the initiator of an automation rule

Sujaira Moughawiche
October 22, 2020

Hi,

I am trying to create a Smart Value with all the watchers to send an email but I want to make sure the initiator is not included. So I created a Smart Value where I use the following expression

{{#issue.watchers}} {{#if(initiator.displayName.eq(displayName),' ',{{emailAddress}})}}  {{/}} {{/}}

But the Smart Value comes back empty.

How can I check each item on an array and create another array only with the items that didn't matched the if condition?

1 answer

0 votes
Chip from Shop-Ware
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 23, 2016

If someone else has this problem, the solution is described in  this KB article , which says:

in Google Chrome:

  1. Right Click on the "Confirm" button
  2. Inspect Element
  3. In the HTML, remove the disabled="true" parameter for the button object
  4. Click on confirm

 

Suggest an answer

Log in or Sign up to answer