Forums

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

Adding watcher in automation rule

Mohit Jain
Contributor
September 1, 2025

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

 

3 answers

1 accepted

3 votes
Answer accepted
Shreeja J
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 Leaders.
September 1, 2025

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:

  1. After creating each task (steps 2 and 6 in your rule), add a new action: “Add watchers”.

  2. Select the users you want to watch that specific task.

  3. Make sure you add the watchers inside the same branch where the task is created, so it applies to that task individually.

Thanks,
Shreeja

Mohit Jain
Contributor
September 1, 2025

@Shreeja J thanks for quick response it is adding watcher to epic instead of child task😔

Shreeja J
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 Leaders.
September 1, 2025

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

Like Mohit Jain likes this
Mohit Jain
Contributor
September 1, 2025

@Shreeja J Yes I updated that most recently created item and that works...thanks..

 

regards 

Mohit

Like Shreeja J likes this
0 votes
Bert Dombrecht
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 Leaders.
September 1, 2025

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

Mohit Jain
Contributor
September 1, 2025

@Bert Dombrecht  it is resolved now thanks...

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 Leaders.
September 1, 2025

Hi @Mohit Jain 

For a question like this, context is important for the community to help.  Please post the following:

  • what version of Jira are you using: Cloud, Server, or Data Center
  • for Cloud, what type of project is this: company-managed, team-managed, JPD, etc.
  • an image of your complete automation rule in a single image for continuity
  • images of any relevant actions / conditions / branches
  • an image of the audit log details showing the rule execution
  • explain what is not working as expected and why you believe that to be the case

Until we see those...

 

When you want to add the watchers to the newly created work items...

  • after the create action,
  • add a branch to most recently created work item (singular), and
  • add the watcher inside the branch.

 

Kind regards,
Bill

Mohit Jain
Contributor
September 1, 2025

@Bill Sheboy thanks it is resolved now

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events