Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to program email recepient for Jira automation - Select receipent based on a custom field value

Athar Mushtaq February 3, 2023

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

2 answers

1 accepted

0 votes
Answer accepted
Athar Mushtaq February 6, 2023

Create a custom field to capture email address for specific recipient against an issue. Then use smartvalue {{issue.customfieldname}} as a recipient.

0 votes
John Funk
Community Champion
February 3, 2023

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. 

Athar Mushtaq February 6, 2023

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events