Task Field

Update TaskField Value

PUT

Replaces the current value of a TaskFields for a specific Task within your Workspace.

A TaskField is a custom field defined within your Workspace for a specific Project. You can define TaskFields for any integration purpose that is important to your business. Each TaskField has a data type as well as options in how it is handled. TaskFields can be edited for each Task inside this Project.

Path parameters

taskIdstringRequired
The unique identifier of the Task whose value you wish to update
fieldIdstringRequired
The unique identifier of the TaskField whose value you wish to update

Request

This endpoint expects an object.
value
stringOptional
The new value to be set for this TaskField.

Response

This endpoint returns an object
error
objectOptional
If the API call failed, this will contain information about the error that occurred.
success
booleanOptional
True if the API call succeeded; false otherwise.
hasError
booleanOptional
True if the API call failed.
statusCode
enumOptional
The HTTP code of the response.
data
objectOptional
Returns the id of a specific ChangeSet
PUT
1curl -X PUT /project-api/public/tasks/taskId/fields/fieldId \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{}'
200Updated
1{
2 "error": {
3 "message": "message"
4 },
5 "success": true,
6 "hasError": true,
7 "statusCode": "Continue",
8 "data": {
9 "changeSetId": "changeSetId",
10 "id": "id"
11 }
12}