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 votes

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
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

27,425 views 2 7
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