Add/Remove Labels
Submitty has the ability to add/remove labels to the 3rd party app once certain thresholds are met.
To configure the labels, head over to the website. The labels config can be found in the Submission Group of your server.
Label on Upvotes
The config below configures 2 labels.
The first label will be added to every issue. This allows us to filter easily for user submissions.
The second label is applied to all issues where the submission has more than 10 up votes. This allows us to filter for submissions that are more requested by the users.
- Label:
Requested Feature, Upvotes:0 - Label:
>10 Likes, Upvotes:11
Label on Role
Submitty can also add labels to an issue depending on the submission authors role.
For example:
- Label:
PremiumUser Role:Donator
Will give every submission, that is created by a user with the Donator role in Discord, the Premium label on the 3rd party application.
Labels are applied on submission vote. This means, if you add/remove/change your labels, they will only be updated in your 3rd party app once the corresponding submission is updated.
Same accounts for Discord roles. If a user gets a role added/removed, the label will be added/removed in the 3rd party app on the next vote.
If you want to delete the first label, leave the label name empty and use 0 as upvote count.