Greetings, i have a request from a project manager to create an automation based on CRON with a action 'comment'.
An actor for that comment will be real person (user_id).
Problem - that action triggers 'auto-watch' feature, which is turn on in that user personal settings, and their willing to keep it like that.
But that automation leads to overwhelming stream of notifications and emails.
Question, is it possible to add to that automation 'un-watch' step? or any other way to reduce unwanted noise
Hello @Alexey
Yes, there is a Manage Watchers action.
https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Manage-watchers
You would want to use the Re-fetch action after the Comment action to ensure you get the updated issue after the user has been added as a Watcher because of the comment addition. Then you could add the Manage Watchers action to remove the comment author from Watchers.
@Trudy Claspill perfect, thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
UPDATE:
It works great then paired with IF advanced compare values like {{issue.watchers}} to make a check BEFORE adding a comment to see if a person actually was a watcher before the automation, to prevent accidental unwatch.
The rule looks like:
IF person is not watcher
THEN add comment, re-fetch and unwatch
ELSE add comment
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.