-
Notifications
You must be signed in to change notification settings - Fork 4
ChecklistNotStartedCondition
Rasmus Wulff Jensen edited this page Nov 1, 2023
·
2 revisions
Back to Automation Condition List
Condition that check if a Card have a checklist with a certain name and that none of the items on that list is completed (aka the Checklist have not been started)
Option | Description |
---|---|
ChecklistNameToCheck (Required) |
The name of the Checklist to check |
Automation sampleAutomation = new Automation("Remove the 'Definition of Done' Checklist if Card is moved back to 'Backlog' and the checklist is not started",
new CardMovedToListTrigger(CardMovedToListTriggerConstraint.AnyOfTheseListsAreMovedTo, "Backlog") { TreatListNameAsId = true },
new List<IAutomationCondition>
{
new ChecklistNotStartedCondition("Definition of Done") // <-- Our condition
},
new List<IAutomationAction>
{
new RemoveChecklistFromCardAction("Definition of Done")
});
If you are looking for info on a specific method in TrelloDotNet then expand the Pages above and input the 'MethodName' (Example: 'AddCardAsync')