The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Email this Issue handler not working consistently

Marius Skoglund
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 Champions.
December 7, 2023

I have set up a mail handler that processes New Hire notifications received by emails from Workday.

The email handler sets Issue Summary, Employee Location and Reporter fields in the new ticket as shown in attached screenshot.

Screenshot 2023-12-07 150759.png

However the Reporter field is not filled consistently. I have been struggling with this for a while, and had concluded that JSM just does not like autofilling the reporter field using Display Name. However, now I am making it work with certain users, but not all. And I don't know how to spot the difference.

Here are the debug logs for a working and a non working email:

Working:

INFO: Set issue field Reporter with value $!group1 extracted from Body using regular expression Reports to:\s(.*?)\sHire date:
DEBUG: Setting Reporter field with value: Name1 Name1son
DEBUG: Reporter has been set: Name1 Name1son

Not working:

INFO: Set issue field Reporter with value $!group1 extracted from Body using regular expression Reports to:\s(.*?)\sHire date:
DEBUG: Setting Reporter field with value: Name2 Name2son
DEBUG: No user found by the input value: Name2 Name2son
DEBUG: Reporter field has not been set.

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events