How would I have an email sent when a user is entered into a custom field?

I have added a custom field that allows the user to enter one of the users usernames.  The field does an auto lookup of the existing user base and puts the username into the field.  I would like to send the user an email when they are entered into that field.  How would I go about triggering an email to be sent saying their name was entered into this field?

1 answer

0 vote

Emails are sent when a notification scheme is set up to pick up events on issues.  The event fired by "update field(s) on an issue" is "issue updated", so you could add your user-picker field to the notification for "issue updated" and your user would start getting emails.  But they will then get emails for all updates, not just when they are added to the list.

To be more clever, you're going to need code - skip the notification scheme entirely and have a listener pick up "issue updated" and check if the field was edited during the event and then send an extra email.

But you can't implement that code on Cloud.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

763 views 2 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you