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?
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:
{{description.match("This bug is created by \s(.*)")}}
GET https://your-domain.atlassian.net/rest/api/3/user/search?query={{userEmail}}
{{webResponse.body.first.accountId}}
I hope this helps.
Tugba
actioner.com
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.