-
Notifications
You must be signed in to change notification settings - Fork 4
SetFieldsOnCardAction
Rasmus Wulff Jensen edited this page Nov 1, 2023
·
3 revisions
Back to Automation Action List
Action to set one or more fields on a card
Option | Description |
---|---|
FieldValues (Required) |
List of field-values to set (You can set 'Name', 'Description', 'start Date', 'Due Date' and/or 'Due Complete') |
Automation sampleAutomation = new("Add Start Date to Card when moved to any of the Work in Progress lists",
new CardMovedToListTrigger(CardMovedToListTriggerConstraint.AnyOfTheseListsAreMovedTo, "In Progress", "Review", "Test", "Deploy") { TreatListNameAsId = true },
null,
new List<IAutomationAction>
{
new SetFieldsOnCardAction(new SetCardStartFieldValue(DateTimeOffset.UtcNow))
});
If you are looking for info on a specific method in TrelloDotNet then expand the Pages above and input the 'MethodName' (Example: 'AddCardAsync')