Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Send e-mail to @user when mentioned in comment

Jamie Duikersloot January 17, 2023

Hi,

Is there a way to send an e-mail to a user that is mentioned in a comment?

For example:

When "@jack can you comment on this ticket?" is entered in the comment, then i would like to auto send an e-mail to Jack containing the text from that comment.

 

I tried several solutions i found, but i can't get it to work.

 

Thx

3 answers

1 accepted

1 vote
Answer accepted
Jamie Duikersloot January 17, 2023

It's fixed! Don't really know why but disabled and re-enabled several options en now it's working.

 

Thanx for the help.

Tan Jia-Hao January 24, 2024

Hello Jamie, would you mind sharing how you do it? thank you so much

0 votes
Sushant Verma
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 17, 2023

Hi @Jamie Duikersloot 

Welcome to the community!

You could call the REST API with a web request using the accountId, get the email address, and then send your custom message.  Please note doing this means the user would get 2 emails per mention: one from the mention and one from the rule.

If you want to try this approach, here are some references to help you get started:

https://community.atlassian.com/t5/Jira-articles/Automation-for-Jira-Send-web-request-using-Jira-REST-API/ba-p/1443828

https://docs.atlassian.com/software/jira/docs/api/REST/1000.824.0/#api/2/user-getUser

Regards,
Sushant Verma

Jamie Duikersloot January 17, 2023

Thank you, i have found this one earlier. I'm a newbie with API and tried this. Didn't get it to work yet. 

 

Expected a builtin feature that i missed to enable this. 

Sushant Verma
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 17, 2023

@Jamie Duikersloot Great to know it get fixed by disabled and re-enabled.

Have a great day!

Regards,
Sushant Verma

0 votes
Ankit Srivastava
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.
January 17, 2023

Hi @Jamie Duikersloot 

Welcome to the Atlassian Community!

Could you please refer the below link:
https://support.atlassian.com/jira-cloud-administration/docs/configure-email-notifications/#Email-recipients 

Hope this will help.

Thanks

Jamie Duikersloot January 17, 2023

Thx, i tried this but i don't get an e-mail when mentioned in comments. I checked the option email when "someones mentions you". But it doesn't seem to work.

Ankit Srivastava
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.
January 17, 2023

Hi @Jamie Duikersloot 

Could you please check below link once:
https://confluence.atlassian.com/jirakb/how-to-troubleshoot-customer-notifications-in-jira-service-management-cloud-967343751.html

Could you please review once the notification Public Comment. if it turned OFF then please turn it ON

Hope this will help

Jamie Duikersloot January 17, 2023

This is already enabled for the assigned user. I don't see an option to enable this for mentioned users.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events