跳到主要内容

Subtasks and links

Tasks relate to each other in two ways. A subtask belongs to a parent task and is shown under it. A link joins any two tasks that are otherwise independent. Both live in the task card; changing them needs the right 管理任务.

Subtasks​

The section 子任务(…) (the number of subtasks stands in place of the ellipsis) appears in a card that has subtasks. Each row shows the star, the number and the title; the title of a closed subtask is struck through. A click opens that subtask. The button 添加子任务 in the section header creates one more, see Creating tasks.

In the table and the list, subtasks stand under their parent when the structure is 树状; see Table, list and tree.

Change the parent​

  1. In the "…" menu of the card choose 设为子任务… (for a top-level task) or 更换父任务….
  2. A form opens with the title of the chosen action and a search field 输入文字以查找任务,或输入任务编号, which a screen reader calls 搜索要关联的任务…. Type a few letters of the title or a number.
  3. Click the task that becomes the parent. The choice is applied at once. The list holds the tasks of the same project that can become the parent.
  4. 取消 closes the form.

The item 设为独立任务 in the "…" menu removes the parent: the task becomes a top-level task. If the change took an assignee away from a subtask, the card shows the note 已移除无法再查看该任务的负责人(…) (the number of people stands in place of the ellipsis) with a line …“…” — … for each of them: the number and the title of the task and the name of the person.

A parent closes with its subtasks​

  • A subtask is closed when the meaning of its state is 已完成 or 已取消; the meanings are set in Board columns.
  • When all subtasks are closed and at least one of them is 已完成, the parent goes to the first state of the project whose meaning is 已完成. The history of the parent says 已自动关闭:所有子任务均已关闭.
  • When a subtask of such a parent is opened again, the parent goes back to the state it had before, and the history says 已重新打开:子任务再次变为打开状态. A parent that you closed by hand stays closed.
  • Only published subtasks are counted. A transition check of the project can refuse the automatic move.

The section 关联 groups the tasks related to this one. Tabs in its header name the groups that exist, each with a number; a click scrolls to the group:

GroupWhat it shows
关联到Tasks linked as related, in both directions.
依赖于Tasks this task depends on.
是以下任务的前提Tasks that depend on this one (the other side of 依赖于).
重复了Tasks this one duplicates.
被以下任务重复Tasks that duplicate this one.
是以下任务的子任务The parent of this task.
此处提及Tasks whose numbers are named in the text of this task.
被提及于Tasks that name this task in their text. Long lists end with the line 显示前 … 项 — 还有更多 (the number stands in place of the ellipsis).
相似任务Tasks close in meaning to this one, found by the search by meaning; a click opens the task, also from another project. When the search by meaning meets an obstacle, the group says why, in words; when the group is empty, it says 暂无相似任务

Every row shows the star, the number and the title; a closed task is struck through. A cross at the end of a link row (with the right to manage tasks) removes the link; a screen reader calls it Remove … (the number and the title of the task stand in place of the ellipsis). A section with an empty list of links says 暂无关联

  1. Press 关联任务 in the header of the card or in the section 关联.
  2. The form 添加关联 opens. Under 选择关联类型 choose 关联到, 依赖于 or 重复了.
  3. Under 查找要关联的对象 type words from the title or a task number. With an empty field the list shows 此项目中的任务; with a text the search covers the projects where you may edit. Tick the tasks; arrow keys and Enter also work.
  4. The line under the list, … 将作为“…”关联到所选对象, repeats what will be created; the number of this task and the type stand in place of the ellipses.
  5. Press 添加 (the number of ticked tasks is shown next to it). While the selection is empty the button explains: 请先选择要关联的任务 取消 closes the form.

A link joins two different tasks, and a dependency that closes a circle (the chosen task already depends on this one, directly or through others) is refused with a message.

What's next​