Can you send an email to an address manually entered into a field?

Mike Bobay
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 25, 2024

Hello Community,

 

I am new to jira and do not use it regularly but my team does. They have asked me to help them come up with a solution which involves sending an email to an address that is defined in a field. 

Apparently they use Jira to track onboarding and a required to fill out the customer's email address in the record as a field. Upon closing the ticket they would like it to trigger an email send to that field.

Has anyone had to do something similar or know where I can start to find them a solution?

 

2 answers

1 accepted

3 votes
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 25, 2024

Hello @Mike Bobay 

Welcome to the Atlassian community.

Yes, that should be possible with an Automation Rule.

You can use the Issue Transitioned trigger, and the Send Email action.

In the To field for the Send Email action you would reference the custom field that has the email address using a smart value:

{{issue.the name of the custom field}}

You probably also want to make sure the field actually has a value in it first.

https://support.atlassian.com/cloud-automation/docs/jira-automation-conditions/#Issue-fields-condition

Screenshot 2024-07-25 at 1.15.02 PM.png

In my example my custom field name is "Custom Paragraph".

 

However, there is some risk that the email address will not be valid or in a valid format. Do you expect the rule to do any validation of the content of the field to try to validate that it is a properly formatted email address?

 

Mike Bobay
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 25, 2024

Thank you for the quick reply and being very detailed. This will definitely save us some time.

I will look into this with the team and see if I can set it up for them. 

1. The field is required to close the ticket so I don’t think it will be an issue when field is empty. Although, out of curiosity, what happens if the field is left blank and the automation tries to send an email. Will it just fail/will user be notified?

2. I don’t know if jira has the email data type. But I may look into changing the field to that data type if it does exist for validation purposes. Do you know if it does?

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 25, 2024

1. The rule will fail and notification will be sent to the person specified in the Rule Details to receive notifications upon rule failure.

2. Jira does not have a native custom field type for Email Address.

0 votes
Victor - Modus Create September 2, 2024

Hi @Mike Bobay  ,

From what I understood of your request, it seems that you would find an alternative for this using Notification Assistant for Jira Cloud:

https://marketplace.atlassian.com/apps/1211069/notification-assistant-for-jira-email?hosting=cloud&tab=overview

The app allows you to set many different triggers that could help you with the task at hand.

Hope it helps.
Cheers,
Victor | Modus Create

Suggest an answer

Log in or Sign up to answer