YouTrack Server 2022.2 Help

Notify Multiple Unregistered Users

This workflow is used as part of the Mailbox Integration that enables using YouTrack as a help desk. For a detailed description of this integration, see Use YouTrack as a Help Desk

You can use this workflow to send email messages to any email address, including unregistered users. If overused, sending email messages to unregistered users can slow down the performance of your YouTrack server, which is not designed for use as a bulk email service. You can configure a system property to set a daily email message limit. For more information, see Configuration Parameters.

This workflow manages a of email addresses that are stored in the Last message related emails and All related emails fields. It also includes a rule that sends email messages to unregistered users when a comment is added to an issue that was reported by sending an email to a specific mailbox.

Name

@jetbrains/youtrack-workflow-notify-multiple-unregistered-users

Auto-attached

no

Rules

  • Collect related emails on issue creation (on-change)

  • Send notifications to all unregistered users (on-change)

To enable this workflow:

  1. Add a string-type field with the name Last message related emails to your project.

  2. Add a string-type field with the name All related emails to your project.

  3. Attach the Notify Multiple Unregistered Users workflow to your project.

For this workflow to function properly, there are a few additional settings you need to configure in your YouTrack instance:

  • Configure your project to send notifications with the email address of your feedback or support account.

  • Configure and enable the Mailbox Integration feature.

For a complete description of this setup, see Use YouTrack as a Help Desk.

Use Case

This workflow supports using YouTrack as a help desk. When an issue is reported by email, the email addresses in the From and CC fields are added to the issue. These email addresses then receive email notifications when the issue is updated.

Rules

This workflow includes two rules. The first rule manages the list of email addresses. The second rule sends notifications to these email addresses when an issue is updated.

Title

Description

Collect related emails on issue creation

This rule collects the email addresses stored in the Last message related emails field and copies them to the All related emails field.

Send notifications to all unregistered users

This rule sends notification to unregistered users whose email address is stored in the All related emails field. This is used to send notification to the email address of a person who reported an issue by sending an email to a specific inbox. Additional email addresses that were set in the To and CC fields are also notified.

The email message is formatted as a reply to the original email.

Last modified: 21 September 2022