Types and words

This page is for the person who sets up a project. After reading it you can give a project its own kinds of item and its own words, so that a kitchen renovation talks about Work Orders and Phases rather than Tasks and Sprints.

A project names its work in two ways. Its types are the kinds of item it has (an Epic, a Bug, a Work Order), each with a name, a colour and a level. Its vocabulary renames ten more words that the screens and the command line use (a Sprint can be a Phase, a Backlog can be Pending Work). A "Sprint" in a software project and a "Phase" in a construction project are the same thing; only the label differs. Types and words belong to one project and do not affect others.


Types

A new project starts with the types of its project type. Every type has:

PartWhat it is
KeyThe short name the files and the command line use: lowercase letters, digits, _ and -. It never changes.
NameWhat the project calls it. Free text, and changeable at any time.
ColourOne of the app's colours: accent, accent 2, danger, warning, success or neutral.
LevelHolds work (like an epic: it has items under it) or Work (like a task: something a person or an agent does). A level changes only while no item uses the type. The level decides where an item can go: a type that holds work never goes under work (see Moving an item under another).
DefaultExactly one type is the default work type: what an item becomes when it is made without a type. It is always a work type.
Project typeTypes that hold workTypes that are work (the default is first)
Software, Web, Mobile, Maintenance, Personal, CustomEpicTask, Feature, Bug, Requirement
ConstructionBuilding, SectionWork Order, Activity, Defect, Specification
HomeworkCourse, ModuleAssignment, Question, Correction, Rubric Item
LegalMatterFiling, Case, Issue, Statute
ResearchStudyProtocol, Experiment, Anomaly, Hypothesis
EventEventTask, Track, Issue, Requirement

There is no "subtask" type: a sub-item is work under another item, whatever its type.

Change them in the app. Settings → Types has one row for each type, in the order the app uses:

  • Name and Colour change at once.
  • Holds work or is work is a choice of Holds work or Work. It is off while any item uses the type, and the row says how many do.
  • Items is how many items use the type.
  • Default is the radio that makes it the type new work takes. A type that holds work cannot be the default, so its radio is off.
  • The handle at the left moves the row: drag it, or focus it and press the up or down arrow (Home and End go to the ends). The order is the one the type pickers use.
  • Remove opens "Move its n items to…", which lists the other types at the same level, and removes the type in the same step. A type no item uses is removed after saying so. The default type cannot be removed until another one is the default.

Below the rows, Add type takes a name, whether it holds work or is work, and a colour; the key is made from the name (lowercase letters, digits and dashes) and is shown before you add it. A key that already exists is refused with the reason beside the button.

List them:

tack types <project-id>

The table shows each type's key, name, level, colour, how many items use it, and which one is the default.

Change them via the API. GET /api/projects/{id}/types lists the types with how many items use each; POST adds one, PATCH /api/projects/{id}/types/{key} changes its name, colour, position, level or default, and DELETE /api/projects/{id}/types/{key}?merge_into=<key> removes one. A type that items use cannot be deleted until you say where its items go with merge_into: they move in the same step. The type you merge into must be at the same level.

In a project file. The types section lists them. A file that creates a project gives it exactly those types; a file that adds to a project adds the types it lacks and takes the names and colours of the ones it has. An item whose type is a word the project does not have gets a new work type of that name, and the preview lists it. See Import, Export & Project Files.


The ten words

TermDefaultConstruction exampleHomework example
sprintSprintPhaseWeek
backlogBacklogPending WorkUpcoming
boardBoardProject BoardPlanner
blockerBlockerHoldDependency
story_pointsStory PointsEffort HoursEffort
assigneeAssigneeResponsibleStudent
deliverableDeliverableDeliverableSubmission
phasePhasePhaseTerm
milestoneMilestoneInspection PointExam
releaseReleaseHandoverGraduation

Every word is optional. A word you leave blank uses its default label. A new project starts with the words of its project type.


Changing the words

In the UI: Settings → Vocabulary, edit the fields, then Save vocabulary. The new words appear in every view of that project. The panel lists only these ten words; the types an item can be are in Settings → Types.

Via API:

curl -X PATCH http://localhost:3210/api/projects/{id} \
  -H "Content-Type: application/json" \
  -d '{"vocabulary":{"sprint":"Phase","backlog":"Pending Work"}}'

The request replaces the whole vocabulary: a word you leave out goes back to its default label, so send every word you want to keep. A key that is not one of the ten is refused; item types are not words, they are the project's types above.

In a project file. The project.vocabulary key takes any subset of the ten words, and the rest keep the project type's words. A file applies it only when it creates a project. A word that is not one of the ten makes the file be refused. See Import, Export & Project Files.


CLI behavior

The CLI shows your project's type names. Use --json to get the keys instead:

tack list --project <id>          # shows "Work Order" instead of "task"
tack list --project <id> --json   # returns {"item_type":"task", ...}

tack add -t <key> takes any key of the project's types; without -t the item gets the default work type.


Practical tip

Set the types and the words early: they appear in the item forms, the view names and the command line. Changing a name later is safe, because it only changes labels, but people used to the old words may be confused.

Starter words for a construction project:

{
  "sprint":    "Phase",
  "assignee":  "Responsible",
  "blocker":   "Hold",
  "release":   "Handover",
  "milestone": "Inspection Point"
}