We currently have a requirement to automate some emails. We want to send an auto email once an issue transition to a certain status. I understand we can use Jira automation transition rule as a trigger and then send an email. The challenge is that we have approx 40 different email recipient based on a custom field. A simple If/else condition won't work as we have forty different possibilities.
I was just wondering if there is a possibility within Jira automation to select email recipient based on a custom field value? If yes, how do I define it?
Thanks,
Athar
Create a custom field to capture email address for specific recipient against an issue. Then use smartvalue {{issue.customfieldname}} as a recipient.
Hi Athar - Welcome to the Atlassian Community!
Is the email going to a user? Or is it just an outside email?
If a user, then you can try creating a single user picker field and populate that field when the issue transitions based on the other custom field that you have. Then you can send an email to the custom user picker field you created.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for getting back to me on this John. Actually the email address would be for some external recipients. I managed to create a custom field to record specific email and then used a smart value to program email recipient for Jira Automation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.