Hi All,
I am setting up some automations in JIRA when an issue is progressed through its workflow.
Whenever an issure is transitioned to status PO Input I want the issue to be assigned to one of the POs from the PO group and then send them an email with some text. This is what the rule looks like:
When an issue is transitioned, I get this error: Could not send email, the 'To' address field is empty. If you have referenced a field it may be empty. The user who is assigned the issue is me and my profile does have an email address. I get a feeling that the rule progresses the actioned in reverse: first it tries to send the email and them assign the issue to me.
I would greatly appreciate if someone points me to what I am doing wrong.
Thank you
Hi Sergey - Welcome to the Atlassian Community!
Try putting a new action for Re-fetch issue before the email. It is probably as Jack suggests that the assignee is not getting fully set before the email goes.
Inserting the Re-fetch issue action just before the email action seemed to have worked.
Thank you John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
theory...
i think the issue is that the assignee is still empty when it hits the email leg. I think until the automation is fully executed the assignee isn't complete.
test...
separate the automation into two rules: assign, then email the second triggered by the first.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's what I was thinking. Though I must be mistaken and asked here. Glad I did.
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Edit: Tried changing the placement of send email action to the top of assign issue action to test your theory. However, Jack's suggestion seems to way to go.
Cheers,
Gökçe
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.