Queries
assignableTaskBoardUsers
Returns all users who may be assigned tasks on a board: both individually added members and users reached through an assigned group, enriched with profile details for display.
the board.
Template for Query:
query GetAssignableTaskBoardUsers($hubId: ID!, $boardId: ID!, $pagination: PaginationInput) {
assignableTaskBoardUsers(hubId: $hubId, boardId: $boardId, pagination: $pagination) {
results {
id
}
}
}
Arguments
| hubId* ID! non-null | The CommonWorkspace hub ID (a.k.a. ACE scope URN) of the hub that contains |
| boardId* ID! non-null | The unique identifier of the task board. |
| pagination | Specifies how to split the response into multiple pages. |
* Required
Possible Returns
| Value Type | Description |
|---|---|
TaskBoardAssignableUsers! non-null |
Paginated list of assignable users for a task board. |
Examples
Example 1
Lists users who may be assigned tasks on a board, whether added directly (source: DIRECT) or through a group (source: GROUP). Results are ordered by display name, collated as English. The email, firstName, lastName and userName fields and the filter argument are personal data and are not part of the public contract.
Query:
query GetAssignableTaskBoardUsers($hubId: ID!, $boardId: ID!, $pagination: PaginationInput) {
assignableTaskBoardUsers(hubId: $hubId, boardId: $boardId, pagination: $pagination) {
pagination {
cursor
pageSize
}
results {
id
displayName
role
source
}
}
}
Show More
Query Variables:
{
"hubId": "urn:adsk.ace:beta.scope:02dd340f-3e84-4db8-b6a1-56a964a202c7",
"boardId": "EwgH0qjTZmhD3JEW0iU4VK_aga",
"pagination": {
"limit": 25
}
}
Response:
{
"data": {
"assignableTaskBoardUsers": {
"pagination": {
"cursor": null,
"pageSize": 9
},
"results": [
{
"id": "HYW2UTL7M27N2G85",
"displayName": "Aishwary Tiwari",
"role": "ADMIN",
"source": "GROUP"
},
{
"id": "9Y424SGUL83XQC37",
"displayName": "Dinesh Lohokare",
"role": "ADMIN",
"source": "GROUP"
},
{
"id": "3EG258YGJDMGVD2D",
"displayName": "MFGDM API Documentation",
"role": "ADMIN",
"source": "GROUP"
},
{
"id": "GRM22PZYJAFDX2WJ",
"displayName": "Raghav Patel",
"role": "ADMIN",
"source": "GROUP"
},
{
"id": "SR2GNSE66V3K",
"displayName": "Rajat Sudagade",
"role": "ADMIN",
"source": "GROUP"
},
{
"id": "P7V2X8JRNJ8C7TYQ",
"displayName": "Rishabh Anand",
"role": "ADMIN",
"source": "GROUP"
},
{
"id": "Q78AJUBH7YGT",
"displayName": "Sasikanth Kollipara",
"role": "ADMIN",
"source": "GROUP"
},
{
"id": "KFR256Q8QHU6AYXC",
"displayName": "Shubham Kasar",
"role": "ADMIN",
"source": "DIRECT"
},
{
"id": "P352K527NB3BG5UB",
"displayName": "Utsa Gupta",
"role": "ADMIN",
"source": "GROUP"
}
]
}
}
}
Show More