Buckets
Defines custom columns for tasks, allowing users to categorize work into phases, task types, or departments for better organization.
Table Specific Information
Select
The add-in will use the Microsoft Planner API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the add-in.
- PlanId supports the '=' operator.
- BucketId supports the '=' operator.
For example, the following queries are processed server side:
SELECT * FROM Buckets WHERE PlanId = 'nETc1IDpYk3r3e317w8TxGmUAGFWC' SELECT * FROM Buckets WHERE BucketId = 'qIguxctMLEGHYhmgSVGSNGUAAZOZ'
If no filter is provided, the add-in queries Plans and reads the buckets for each plan.
Insert
Required fields for an insert are: name and planId.
Optional: orderHint.
INSERT INTO Buckets (Name, PlanId) VALUES ('Advertising', 'xqQg5FS2LkCp935s-FIFm2QAFkHM')
INSERT INTO Buckets (Name, PlanId, orderHint) VALUES ('Advertising', 'xqQg5FS2LkCp935s-FIFm2QAFkHM', ' !')
Update
Microsoft Planner allows updates for the name and orderHint columns.
UPDATE Buckets SET Name = 'To do', orderHint = ' !' WHERE BucketId = 'rWpNKGmHukm84GaiDF_ZL2UAOlMj'
Delete
Buckets can be deleted by providing BucketId.
DELETE FROM Buckets WHERE BucketId = 'yHiJQjZK0kGVt4flhItk0mUANJwN'
Columns
| Name | Type | ReadOnly | Description |
| BucketId [KEY] | String | False |
A globally unique identifier assigned to each bucket, used for referencing and managing the bucket. |
| name | String | False |
The descriptive name assigned to the bucket, typically used to categorize or label tasks. |
| orderHint | String | False |
A value used to determine the order of buckets in a list view, ensuring a user-defined sequence. |
| planId | String | False |
The unique identifier of the plan to which the bucket belongs links it to a specific project or context. |
| Etag | String | False |
A unique value that identifies the current version of the bucket resource is used for concurrency control and updates. |