1. Modules
Astravue docs
  • Getting started
    • Introduction
    • Authentication
    • Make your first request
  • General
    • Key concepts
    • Pagination and filtering
    • Errors
    • Dates and times
  • Modules
    • Spaces and projects
    • Tasks
    • Subtasks and checklists
    • Custom fields
    • Comments
    • Time tracking
    • Bulk export
  • MCP server
    • Overview
    • Get started
    • Supported tools
    • Security
    • Build your own client
Guides
API Docs
Guides
API Docs
MCP Server
Astravue MCP on GitHub
  1. Modules

Custom fields

Custom fields add your own data to tasks, such as a client code, a budget or a review date. The REST API returns their values and filters tasks by them.

Read custom field values#

Every task carries its custom fields in customFields. Read them from any task endpoint, such as Get a project task by ID.
"customFields": [
  {
    "taskCustomFieldId": 311,
    "fieldName": "Client code",
    "fieldType": "SINGLE_LINE_TEXT",
    "fieldValue": [{ "taskId": 90412, "value": "ACME-07" }],
    "options": []
  }
]
FieldMeaning
fieldNameThe name shown in Astravue
fieldTypeThe kind of field, listed below
fieldValueThe value set on this task
optionsThe choices of a dropdown field
Field types are SINGLE_LINE_TEXT, MULTI_LINE_TEXT, NUMBERS, DATE, PHONE, EMAIL, CHECKBOX, SINGLE_SELECT_DROPDOWN, MULTI_SELECT_DROPDOWN, PERCENTAGE, CURRENCY and URL.

Filter tasks by a custom field#

Task and subtask lists accept a customFields query parameter. It takes a JSON object with a list of conditions, matched against the field's name:
{"filters": [{"field": "Client code", "condition": "IS", "value": "ACME-07"}]}
URL-encode it when you send it:
All conditions in the list must match. The supported conditions are in Pagination and filtering.
TIP
Filter on the value exactly as the API returns it in fieldValue. Read one task first to see the format your field uses.

Create fields and set values#

The REST API does not create custom fields or set their values. Do that in Astravue, or with the custom field tools of the Astravue MCP server.

API reference#

ActionEndpoint
Read values on a taskGet a project task by ID, Get task by ID
Filter project tasksGet all tasks in a project
Filter personal tasksGet all tasks
Filter subtasksGet all subtasks
Modified at 2026-11-10 13:12:17
Previous
Subtasks and checklists
Next
Comments
Built with