Setting Up a JavaScript Workflow in YouTrack to Trigger Reminder Emails
Dear Community,
I want to set up a JavaScript workflow in YouTrack. I have three fields: "Reminder Users" (user multi), "Reminder Text" (string), and "Reminder Date" (date and time).
Whenever an issue is created or edited, the script should check if these three fields are empty. If none of the fields are empty, it will send an email to the users in the "Reminder Users" field, at the time specified in the "Reminder Date" field, with the email body containing the text from the "Reminder Text" field. We are using on premises version and The SMTP email service is already set up.
If this setup is not possible, do you have any other suggestions for how I can set up reminders that send to multiple users at a self-defined time with custom content?
Thx in advance.
Please sign in to leave a comment.
Hello Mickeychen4728
Here is a code example of how to send reminders for multiple assignees:
Please edit it accordingly to your setup.