Skip to main content

convertBidThreadToTask

Requires permission biddesk:bid:read.

Makes a task from a bid thread; the task and the thread then list each other. The title defaults to the start of the thread's first message. Only the bid's members can use its tasks. Requires Bid Desk and permission to read bids.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation ConvertBidThreadToTask($input: ConvertBidThreadToTaskInput!) {
convertBidThreadToTask(input: $input) {
id
title
ownerName
status
createdAt
bidId
thread {
id
status
createdAt
anchorId
anchorType
bidId
}
}
}

Variables:

{
"input": {
"ownerId": "id",
"threadId": "id"
}
}

Response:

{
"data": {
"convertBidThreadToTask": {
"id": "id",
"title": "string",
"ownerName": "string",
"status": "CANCELLED",
"createdAt": "2025-01-15T00:00:00Z",
"bidId": "id",
"thread": {
"id": "id",
"status": "OPEN",
"createdAt": "2025-01-15T00:00:00Z",
"anchorId": "id",
"anchorType": "APPROVAL_STAGE",
"bidId": "id"
}
}
}
}
convertBidThreadToTask(
input: ConvertBidThreadToTaskInput!
): BidTask!

Arguments​

convertBidThreadToTask.input ● ConvertBidThreadToTaskInput! non-null input​

The thread, the owner and the due date.

Type​

BidTask object​

A piece of work on a bid with one owner and an optional due date, made directly or from a thread.