Magidoc

ProjCustomFieldFilterInput
Input Object

A single row of a project custom field filter. Repeat the same customFieldId across multiple rows to OR several values together for one field (e.g. Project Type = Tier 1 OR Tier 2). Rows with different customFieldIds are ANDed server-side.

Fields

#

customFieldId

ID !
Non-null

The ID of the project custom field to filter by. Use getCustomFields(workspaceId, itemType: project) to discover available custom field IDs and their types.

customFieldValue

Non-null

The value to match against the custom field. For text fields: pass the string value. For number fields: pass the number as a string. For date fields: pass an ISO date string. For select fields: pass the exact option string (e.g. 'Tier 1'). For user/project fields: pass the user or project ID.

Usages

#

References

#

  • Argument customFieldFilters of field getProjects from type Query