Good day everyone
I have created one automation rule with below steps, which is working fine:
1. When work item transition from x to y
2. Create a new task
3. Send email xyz
4. And: re-fetch work item data
5. Branch - for children - transition work to z
6. Create a new task 2
7.Send email xyz
8. And: re-fetch work item data
9. Branch - for children - transition work to z
This will create two task for us under same epic..now I want seperate watcher for each task ...not able to understand where that should be added..
Regards
Mohit
Hello @Mohit Jain
You can add watchers to each task using the “Add watchers” action in Jira Automation. Here’s how you can do it in your existing rule:
After creating each task (steps 2 and 6 in your rule), add a new action: “Add watchers”.
Select the users you want to watch that specific task.
Make sure you add the watchers inside the same branch where the task is created, so it applies to that task individually.
Thanks,
Shreeja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Mohit Jain
To make sure watchers are added to the newly created child task, you can try the following:
Right after the “Create task” action, add the “Add watchers” action within the same branch.
In the “Issue” dropdown of the “Add watchers” action, select “Most recently created issue” instead of “Current issue.”
This way, the rule will correctly attach the watchers to the new task instead of the epic.
Could you try this setup and see if it works?
Thanks,
Shreeja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mohit Jain ,
If you add a branch, you can choose "For: All created work items'.
In that branch you can add the actions you need to happen on the freshly created work item.
If you need to access the newly created work item, you can use the smartvalue {{createdIssue}}.
Kind regards,
Bert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mohit Jain
For a question like this, context is important for the community to help. Please post the following:
Until we see those...
When you want to add the watchers to the newly created work items...
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.