Skip to content

AddMembersToCardAction

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

Back to Automation Action List

This Automation Action adds a set of Members to a card if they are not already present.

Input options

Option Description
MemberIds (Required) The Member-ids to add
TreatMemberNameAsId (Optional) TreatMemberNameAsId

Examples

Automation sampleAutomation = new Automation("When Card is moved to the 'Testing' column, Add a member 'Mike Tester' to the card",
    new CardMovedToListTrigger(CardMovedToListTriggerConstraint.AnyOfTheseListsAreMovedTo, "Testing") { TreatListNameAsId = true },
    null, // No conditions necessary
    new List<IAutomationAction>
    {
        new AddMembersToCardAction("Mike Tester") { TreatMemberNameAsId = true}
    });
Clone this wiki locally