I have an automation which sends an email when a field is assigned to their name, that works ok, I get the user from the field, I send the mail to {{myField.emailAddress}} and evevrything is beautiful.
I have a problem though, telling the previous user that they have been unassigned, as I try smart values like {{fieldChange.from}}
or even {{changeLog.myField.from}}
, but it returns the user account id, where I'm unable to extract the email address. I tested the usual suspects as {{fieldChange.from.emailAddress}}
, {{fieldChange.from}}{{emailAddress}} and about another million combinations.
Does anybody know where I can find the email address from the pre-change user?
Thank you very much,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It appears that the smart value in the fieldChange event come either from Jira's change log which seems to only contain the string representation of the user id.
One thing you could try is to assign that user id to a temporary field and use that field to lookup the full user object, sending an email using that. Bit of a hack, but it may work.
A better solution is for automation to implement this feature request: https://codebarrel.atlassian.net/browse/AUT-725
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.