-
Notifications
You must be signed in to change notification settings - Fork 4
RemoveLabelsFromCardAction
Rasmus Wulff Jensen edited this page Nov 1, 2023
·
2 revisions
Back to Automation Action List
Remove one or more Labels from a card
Option | Description |
---|---|
LabelsIds (Required) |
Label Id's to remove |
TreatLabelNameAsId (Optional) |
Set this to 'True' if you supplied the names of labels instead of the Ids. While this is more convenient, it will in certain cases be slightly slower and less resilient to the renaming of things. |
Automation sampleAutomation = new Automation("Remove Labels 'Blocked' and 'Backlog' when the card is moved to board from another",
new CardMovedToBoardTrigger(),
null, //No conditions
new List<IAutomationAction>
{
new RemoveLabelsFromCardAction("Blocked", "Backlog") { TreatLabelNameAsId = true }
});
If you are looking for info on a specific method in TrelloDotNet then expand the Pages above and input the 'MethodName' (Example: 'AddCardAsync')