Hi all,
We have a specific notification question. Every time persons A and B are assigned a task on a project, person Z wants to be assigned as a watcher. Only when persons A and B are assigned the task. Is this possible to automate? Or is it only manually possible?
Thank you!
Hello,
You would need an addon for it. You can use the Power Scripts add-on.
https://marketplace.atlassian.com/apps/1210749/power-custom-fields?hosting=server&tab=overview
You could write a listener for the Issue Assigned event and check who the assignee is. If the assignee is either A or B, you can add user Z as a watcher. Your listener would look like this:
If (assignee == "userA" || assignee == "userB") {
watchers = arrayAddElement(watchers, "UserC");
}
You can read more about listeners here:
.
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.