Skip to content
GitmoapAPIBeta
Schema

CreateCriterionRequest

Create one criterion on a work item's Definition of Done.

Shape

  • textstringThe human statement — the criterion's title.
  • bindingCriterionBinding or nulloptionalThe typed binding. Absent (or null) is a manual checkbox.
  • checkedboolean or nulloptionalFor a manual criterion, whether it starts ticked. Must be false or absent for a bound one.
  • descriptionstring or nulloptional
  • ordinalinteger · int32 or nulloptional0–∞Where to place it; appended to the end when absent.
  • required_for_closeboolean or nulloptionalWhether this criterion must be satisfied before the work item can be closed or verified. Defaults to true; set false for an aspirational one.

Example

Synthesized example
{
"text": "text-7e35",
"binding": {
"kind": "test",
"test_id": "58811f07-b178-4f5d-938c-8ec940c3f6a4",
"suite": "suite-10af"
},
"checked": false,
"description": "Renders each region as density contours of its operations.",
"ordinal": 68,
"required_for_close": false
}

Graph

Used inside

No schema contains this one.

Used by

Returned by 0 operations

No operation returns it directly.