The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
So I have a select list that is used in various filters. For each of these values, we have an Atlassian group with the same name.
I want to use automation to send an email to the appropriate Atlassian group based on this field's value, but when I use what I think should be a simple smartvalue of {{issue.customField_xxxxx.value}} in the "To" field, it errors out with the "Could not send email, the 'To' address field is empty. If you have referenced a field it may be empty."
I've confirmed that the smart value returns the proper name of the field, and that name has an Atlassian group with the same text.
Is there something I'm missing, or is this functionality just not possible, and instead I need to use a huge block of explicit "if" conditions for the field value?
Hi @Nicholas Shaw ,
I think that's even more simple, you don't need to use a smart value. Just click in the "To" dropdown and select the custom field.
I hope that helps.
Cheers,
Melo
So unfortunately, the custom field is a Select List, not a Group Picker, so it doesn't show up as an option in the To dropdown.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I see. I mean, Idk the whole use case here. But if for some reason, the user can't use the group field directly, you can create an automation to synchronize the CF (Select List) with the Select Group field. And then use it to send the notifications, but the values on the Select List will need to match with the groups you have.
Cheers,
Melo
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.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.