We have a Human Resource Jira project with multiple components, one is "New Hire". There is also a custom user field "User Account", once the hiring process is completed someone adds the new hire user id in that field and adds the start date.
We would like to send a custom email with a PDF file about the onboarding to the new hires once the user account field gets completed. At the same time would like to send another email to the Helpdesk to let them know what day new employees join and what technology need for them.
The logic is if the component value is "New Hire", the issue is unresolved and the "User Account" field is not empty then trigger an email to that user who mentioned in the user account field also send a separate email to the helpdesk and include new employee start date
How can trigger an email with a pdf attachment when the user account field gets updated?