Hi,
Is it possible to create an automation that creates a wotk item and adds some users as watchers?
Thanks in advance!
Hi @Jesús Aznar Sans
There is an action called Add watchers. Give it a try.
The other option its API. The first one its used when the context of the work item doesnt change. If it does, use the API (the API can only add one watcher at a time. You need the accountid and if you have more than one watcher, you will need ot call the API several times)
https://support.atlassian.com/jira/kb/automatically-add-watchers-to-issues-on-creation/
I forgot to mention that adding watchers using advanced field editing JSON won't work!! Only two options: the automation, add watcher action and API.
Regards
Hi @Aaron Pavez _ServiceRocket_ ,
Thank you for your comments.
I have an automation in Space_1 that creates a work item in Space_2.
I have created a second automation in Spce_2 "When a work item is created" then add wathers and it works but only when work items are created manually (from the user interface). But it does not work when the work item is created from the automation from Space_1.
Any toughts?
Thanks!
Hi again!
Have you checked the box?
Check to allow other rule actions to trigger this rule. Only enable this if you need this rule to execute in response to another rule.
It works!! Thank you so much for your help! I forgot to enable this feature.
BTW it would be nice to have this in one automation instead of two in different spaces.
Thanks again!
It looks like you're new here. Sign in or register to get started.