YouTrack Server 2023.3 Help

Process Spam

This workflow is used to manage spam in a helpdesk project.

Name

@jetbrains/youtrack-workflow-spam

Auto-attached

no

Rules

  • Close a ticket when tagged as spam (on-change)

  • Remove spam after 30 days (on-schedule)

Use Case

When a helpdesk agent encounters an unsolicited message that is irrelevant or inappropriate for the support team to handle, they can mark it as spam. This is done using the Mark as spam option in the action menu or by adding the spam tag to the ticket. This action triggers the on-change rule that adds the spam tag (if it hasn't been added already) and closes the ticket as Solved.

Once a ticket has been marked as spam, it is removed from the system after 30 days of inactivity.

Modules

This workflow supports the following rules:

Title

Description

Close a ticket when tagged as spam

When a ticket is updated, this on-change rule checks whether it has been flagged using the spam tag. If a tag named spam doesn't already exist, the corresponding tag is created with the default admin user account as its owner.

If the ticket has been flagged as spam, the workflow changes the value for the State field to Solved.

Remove spam after 30 days

This on-schedule rule checks all tickets (and issues) at 12:00 AM and automatically deletes any ticket that has been marked with the spam tag and has not been updated in the last 30 days.

Last modified: 22 March 2024