feat: allow automation rules to remove labels (#8346)

This commit is contained in:
Shivam Mishra
2023-11-13 13:10:55 +05:30
committed by GitHub
parent 6c79642450
commit cd217a3f86
3 changed files with 13 additions and 2 deletions

View File

@@ -135,6 +135,7 @@ export const getActionOptions = ({ agents, teams, labels, type }) => {
assign_team: teams,
send_email_to_team: teams,
add_label: generateConditionOptions(labels, 'title'),
remove_label: generateConditionOptions(labels, 'title'),
change_priority: PRIORITY_CONDITION_VALUES,
};
return actionsMap[type];