Jira automation: how to add a watcher by email?

Dmitry Shulga March 25, 2024

I have an incoming bug reports that have the author's email in the description. I can successfully extract it. The emails are our company emails that match the Jira user emails. Unfortunately, if I try to add that email via a variable using "Manage Watchers" action, it doesn't work. And I don't see any other action to find a user by email. Am I out of luck?

1 answer

1 accepted

1 vote
Answer accepted
Tugba Capaci
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.
March 26, 2024

Hi @Dmitry Shulga ,

You can find users by email and set them as watchers of an issue by sending a web request.

Check out this post:


For your case, it might be:

  • Just extract your user email from the description and create a variable for userEmail with this smart value:

           {{description.match("This bug is created by \s(.*)")}}

  • Add Send web request node and write the call

       GET https://your-domain.atlassian.net/rest/api/3/user/search?query={{userEmail}}

 Screenshot 2024-03-26 at 10.40.12.png

  • Add Add watchers node and write the smart value


Screenshot 2024-03-26 at 10.39.45.png

I hope this helps.


Dmitry Shulga March 26, 2024

Wonderful! Thank you!

Like Tugba Capaci likes this

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events