Mailbox Integration - error messages
Hi,
I would like to seek for help about a recurring issue we have.
We have a mailbox integration with custom Post-processing:
- Command for new issues and tickets: Private_purchaser_email "${from}" Supplier's_email "${to}" Carbon_Copy_(CC) "${cc}"
Keep in mind that these are 3 custom fields the project has.
Occasionally we get an error message with this description:
Dear admin,
The following problem occurred while processing an email from mailbox:
Failed to apply command "Private_purchaser_email "Barnabas.Kormendi@bud.hu" Supplier's_email "" Carbon_Copy_(CC) "ytprocpo@bud.hu" " to issue created from email from Barnabas.Kormendi@bud.hu.
- Set Private_purchaser_email to Barnabas.Kormendi@bud.hu
- Supplier's_email expected: ""
-
Set Carbon_Copy_(CC) to ytprocpo@bud.hu
Sincerely yours, YouTrack 2024.1 (build #28928)
What would have I possibly made wrong?
Regards,
Matyas
BUD Airport
Please sign in to leave a comment.
Hi Matyas,
The post-processing commands you specified cannot be run without parameters. Apparently, that's what's causing the issue - YouTrack tries to set the “Supplier's_email” field with a command, but no field value is provided. However, it's unusual that the issue happens with the
${to}
variable - unlike CC'd users, the recipient address should be present in any email.Would it be possible for you to share the email that triggered the issue? You can do this privately by opening a ticket with us at https://jb.gg/ytsup.
Hi Julia,
The information you've mentioned helped me solve the issue.
Indeed, the “to” was missing from an e-mail, what is rather unusual, but was causing the error.
Thank you for your answer!
Matyas, you're welcome, I'm glad to hear the issue is solved!