Skip to content

RemoveCardDataAction

Rasmus Wulff Jensen edited this page Nov 1, 2023 · 2 revisions

Back to Automation Action List

Action to remove one or more field values on a card

Input options

Option Description
DataToRemove (Required) A list of data to remove (StartDate, DueDate, DueComplete, Description, AllLabels, AllMembers, AllChecklists, AllAttachments, AllComments, Cover and/or AllStickers)

Examples

Automation sampleAutomation = new Automation("Remove all Previous Members, Labels and Start/Due Dates when card is moved to board from another",
    new CardMovedToBoardTrigger(),
    null, //No conditions
    new List<IAutomationAction>
    {
        new RemoveCardDataAction(
            RemoveCardDataType.AllMembers, 
            RemoveCardDataType.AllLabels, 
            RemoveCardDataType.StartDate,
            RemoveCardDataType.DueDate)
    });
Clone this wiki locally