YouTrack Server 2022.3 Help

Profanity Blocker

This workflow blocks the submission of a description or comment if it contains a word from a list of undesired words.

Name

@jetbrains/youtrack-workflow-profanity-blocker

Previous Title

Spam Blacklist

Auto-attached

no

Rules

  • Block descriptions and comments that contain stop words (on-change)

  • profanity-common (custom script)

Use Case

This workflow prevents users from submitting issues or comments that contain offensive language. You can edit the rule to add words to or remove words from the list of undesired words.

Rules

This workflow contains two modules. The first is an on-change rule that checks the description and comment to see if it contains any word on the list of undesired words. The second module is a custom script.

Title

Description

Block descriptions and comments that contain stop words

When an issue is reported or updated, this rule checks the description and comment to see if it contains any word on the list. If true, a warning is displayed. The user is informed that the description or comment contains one or more words from the list of undesired words.

profanity-common.js

This custom script contains all the words in the stop list.

If you find any profane words that are reported in your issues or any other words that you want to block, you can update the list of words in this module without modifying the workflow rule.

Last modified: 21 April 2023