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?
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.
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?
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.