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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,301 views 5 10
Read article

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