Request

Response

    Task Management

    Task management lets you organize work in boards within a hub, assign tasks to users, and track status, priority, due dates, and progress. You can link tasks to Autodesk Fusion designs and drawings to associate the work with the data it concerns. For example, a board can track design reviews, with each task assigned to a reviewer and linked to the design under review.

    For a walkthrough of creating, assigning, and completing a task, see Create and Complete a Task.

    Task boards and tasks

    A TaskBoard groups related tasks and controls who can access them. Each board belongs to a hub and has its own members, groups, and workflow statuses. Boards organize work independently of the hub’s projects and folders.

    The taskBoards query lists boards in a hub, and taskBoard retrieves a specific board. The createTaskBoard and updateTaskBoard mutations let you set its name, description, and due date. Retain the returned board id for operations on that board and its tasks.

    A Task belongs to one board. Its fields describe the work and its current state:

    • name and description identify and explain the work.
    • assignedTo identifies the user responsible for the task. A task can be unassigned.
    • taskStatusId identifies its workflow status on the board.
    • priorityCode and priorityLabel identify its urgency.
    • dueDate records when the task should be completed, and progress records completion as a percentage.
    • linkedObjects returns the Fusion objects associated with the task.

    Use the hubId of the hub that contains the board for operations on its boards, tasks, and statuses.

    Workflow statuses and priorities

    Statuses describe the stages of work on a board. Each new board has four system statuses: BACKLOG, TO_DO, IN_PROGRESS, and DONE. You can add custom statuses, such as a review stage, to represent additional workflow columns.

    Each status has an id, a stable code, a display label, and a sortOrder. Status IDs are specific to a board, even when status codes match across boards. Use the target board’s taskStatusConfig to discover valid taskStatusId values before creating or moving tasks.

    Priorities describe urgency. Boards have five fixed priorities: Critical, High, Medium, Low, and None. Use priorityConfig to discover their codes and labels. Supply a returned code in the priority input when creating or updating a task. On the returned task, use priorityCode for sorting and priorityLabel for display. Lower sortOrder values indicate higher urgency.

    The following query retrieves the workflow statuses and priorities for a board:

    query GetTaskBoardConfiguration($hubId: ID!, $boardId: ID!) {
      taskBoard(hubId: $hubId, boardId: $boardId) {
        id
        name
        taskStatusConfig {
          statuses {
            id
            code
            label
            sortOrder
            isSystem
          }
        }
        priorityConfig {
          priorities {
            code
            label
            sortOrder
          }
        }
      }
    }
    
    Show More

    Sample variables:

    {
      "hubId": "<hub-id>",
      "boardId": "<board-id>"
    }
    

    Replace <hub-id> with the ID of the hub containing the board and <board-id> with a board ID returned by taskBoards or createTaskBoard.

    Use taskStatus to retrieve an individual status. The createTaskStatus, updateTaskStatus, and deleteTaskStatus mutations manage custom statuses. You can change a custom status’s label and order. System statuses cannot be edited or deleted, and custom statuses must have unique codes within their board. Before deleting a custom status, move its tasks to another status.

    Board access and assignment

    Board access is granted to individual users or groups with one of two roles:

    • ADMIN manages the board, its workflow configuration, and its membership, as well as the tasks on the board.
    • MEMBER can work with tasks on the board.

    An ADMIN grant takes precedence over a MEMBER grant.

    The membership queries serve different purposes:

    • taskBoardMembers returns users added directly to the board and their roles. It excludes users whose access comes only from a group.
    • taskBoardGroups returns groups assigned to the board and their roles.
    • assignableTaskBoardUsers returns users who can be assigned tasks, including users with access through a group. Use this query for an assignee picker and pass the selected user ID as assignedToUserId when creating or updating a task. It supports paging through pagination.

    Use the following mutations to manage access:

    • addMembersToTaskBoard and removeMembersFromTaskBoard add or remove direct user membership.
    • changeTaskBoardMemberRole changes one user’s role, and changeTaskBoardMembersRole changes roles for multiple users.
    • addGroupsToTaskBoard and removeGroupsFromTaskBoard add or remove group access. changeGroupsRoleInTaskBoard changes group roles.

    Removing a user’s direct membership does not remove access granted through a group.

    Note: Board membership, task assignment, and linking do not grant view or edit access to linked designs or drawings. Users need the appropriate permissions for those resources separately.

    Task lifecycle and movement

    Use createTask to create a task with a hubId, boardId, and name. You can also provide a description, assignee, due date, priority, and status. When a status is omitted, the task uses the board’s default status, normally Backlog. A new task starts with progress of 0 and priority None unless a priority is supplied.

    The task query retrieves a task by ID, and updateTask changes its fields. Treat workflow status and progress as separate properties. The resolved taskStatus object is nullable; handle that case even when taskStatusId is present.

    Movement depends on whether the task stays on its current board:

    • Within a board: Use moveTaskInBoard to change the task’s column or position. Supply a taskStatusId from that board. Set insertBelowTaskId to a task in the target column to place the moved task immediately after it, or pass null to place it at the top.
    • Between boards: Use moveTaskToBoard with a targetBoardId in the same hub. An optional targetTaskStatusId selects a status on the destination board; otherwise, its default status is used. Read the returned task to refresh its board, status, and assignee. An assignee who cannot be assigned tasks on the destination board is cleared.

    Use deleteTask to delete an individual task. Deleting a board with deleteTaskBoard also deletes its associated tasks. Deleted tasks and boards cannot be restored.

    Finding and paging through tasks

    The tasks query retrieves tasks in a hub, myTasks returns tasks assigned to the authenticated user, and TaskBoard.tasks lists tasks on one board. The TaskFilterInput fields let you select tasks by name, board, assignee, creator, status, priority, due date, progress, or linked object.

    Name filtering uses a partial match. Use taskStatusIds for specific board statuses or taskStatusCodes when the same workflow codes apply across boards. Use linkedObjectResourceUrn to find tasks associated with a particular linked resource. Due-date and progress bounds are inclusive.

    The following query retrieves a page of the caller’s tasks in the To Do and In Progress stages:

    query GetMyActiveTasks($hubId: ID!, $pagination: PaginationInput) {
      myTasks(
        hubId: $hubId
        filter: { taskStatusCodes: ["TO_DO", "IN_PROGRESS"] }
        pagination: $pagination
      ) {
        results {
          id
          name
          board {
            id
            name
          }
          taskStatusId
          taskStatus {
            label
          }
          priorityCode
          priorityLabel
          dueDate
          progress
        }
        pagination {
          cursor
          pageSize
        }
      }
    }
    
    Show More

    Sample variables for the first page:

    {
      "hubId": "<hub-id>",
      "pagination": {
        "limit": 20
      }
    }
    

    The results field contains the tasks on the current page. To retrieve the next page, pass the returned pagination.cursor in the next request’s pagination input, keeping the hub and filter unchanged. A null cursor indicates the last page.

    Pagination is specific to each field. In particular, the root queries taskBoardMembers and taskBoardGroups do not accept a pagination argument. For general pagination concepts, see Pagination.

    Kanban columns

    The taskBoardColumns query returns the board’s workflow columns with a page of tasks in each column. Each column contains its taskStatus, results, and pagination. Keep a separate cursor for each column.

    Use taskBoardColumn with the board ID, status ID, and that column’s cursor to load more tasks in one column. A column’s pagination.cursor becomes null when that column is fully loaded; other columns can still have more pages.

    Field limits and error handling

    • Task names must be nonempty, contain no line breaks, and have at most 256 characters.
    • Board names must be nonempty and have at most 60 characters.
    • Task and board descriptions have a maximum length of 10,000 characters.
    • Task progress must be between 0 and 100, inclusive.

    Inspect the GraphQL errors array when a request fails. A response can contain partial data alongside errors, and a mutation payload can be null on failure. Use extensions.code to identify the error category rather than matching the message text. When a membership mutation affecting multiple users or groups fails, retrieve the membership again to establish the current state. For general response handling, see Error Handling.