Forums

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

Jira Automations - do not send message to currUser() on automatic updates.

Ben Koifman
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 12, 2023

Hello,

We have an automation which facilitates users as watchers according to custom field changes, i want to disable emails if the user added to watch is the user that changed the field.

Is there any solution to do so?

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 12, 2023

Hi @Ben Koifman -- Welcome to the Atlassian Community!

I am not quite following what you are doing, but...have you tried using the {{initiator}} smart value for a comparison in your rule?

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-users/#--initiator--

Kind regards,
Bill

Ben Koifman
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 14, 2023

What i am trying to say is that i have a general rule of notifying the watchers and if one of the watchers is the initiator he is the only one that should not get the email.

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 14, 2023

Thanks for clarifying.  Two approaches to try are:

  1. to iterate over the watchers in a branch and use a condition to skip the initiator (when found) before sending the email, or
  2. iterate over the watchers and use smart value, list filtering to skip the initiator.  This would create a list of just the email addresses to use

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events