write_collection_add
Add items to an entity's collection, appending to existing entries without replacing them. Use for linking related entities like assignments, tags, or builds.
Instructions
Add items to an addable collection of an entity (layer 1). Collection posts APPEND to what is there; nothing is replaced. For assignments, teams and role efforts prefer write_assign, write_team and write_set_role_effort.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| items | Yes | Items to add, e.g. [{"GeneralUser":{"Id":1},"Role":{"Id":13}}] or [{"Id":42}] to link an existing entity | |
| resource | Yes | Resource name (UserStory) or plural path (UserStories); see read_meta | |
| collection | Yes | Collection name from read_meta, e.g. Assignments, TagObjects, Builds |