Published

Allow Subtasks for tracking issues

Last modified by Manuel Leduc on 2026/11/30 09:32

Allow Subtasks for tracking issues, and add a rule describing tracking issues for work in several steps.

This applies the conclusion of https://forum.xwiki.org/t/allow-tracking-issues-for-multi-step-work-in-jira/19006

  • By default, a tracking issue uses Subtasks, when all the steps belong to the same JIRA project.
  • Otherwise, it uses the Task type with the "Development Issues only" component, linked to its steps with "depends on".

PS: This change request was co-written with Claude Code.

All changes

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.VincentMassol
1 +xwiki:XWiki.mleduc
Content
... ... @@ -111,12 +111,26 @@
111 111  * Improvement: An improvement or enhancement to an existing feature or task.
112 112  * New feature: A new feature of the product, which has yet to be developed.
113 113  * Task: A task that needs to be done.
114 +* Subtask: A step of a tracking issue. Only use it as described in the [[tracking issues rule>>||anchor="HRule:Usetrackingissuesforworkrequiringseveralsteps"]].
114 114  
115 115  All other types must not be used.
116 116  
117 -Notes:
118 -* Subtask: **Must not be used**. We need to remove it but it's hard to do now as lots of issues were created a subtasks in the past and we need to clean that up before we can remove this issue type.
118 +== Rule: Use tracking issues for work requiring several steps ==
119 119  
120 +A tracking issue groups the issues needed to reach a goal that takes several steps (e.g., making the build reproducible, moving away from LESS, or migrating all livetables to Live Data), possibly over several releases.
121 +
122 +To create one, there are two options:
123 +
124 +1. By default, if all the steps are in the same JIRA project, an issue of type **##Subtask##** must be used.
125 +1. Otherwise, use the **##Task##** type with the **"Development Issues only"** component, and link it to each step issue with **"depends on"**
126 +
127 +Additional rules:
128 +
129 +* A //done// criterion must be part of the description. And it needs to be updated if the scope change.
130 +* The person responsible for closing the tracking issue must be set as the assignee.
131 +* Never commit on a tracking issue. If work remains, a new dedicated step must be created.
132 +* When the done criterion is met, the tracking issue must be closed as **Fixed**, with the version in which the criterion was met. If steps are still open when closing, they must either be moved under another tracking issue, or detached (a Subtask is converted to a regular issue, a "depends on" link is removed) and are linked to the closed issue as **"relates to"** instead.
133 +
120 120  == Rule: Regression Handling ==
121 121  
122 122  Regressions must be indicated in JIRA issues as follows:
... ... @@ -202,4 +202,3 @@
202 202  * Move the project to the [["XWiki Retired Projects" category>>https://jira.xwiki.org/secure/BrowseProjects.jspa#10060]]. Edit the project and set its new category.
203 203  * Update the project's description accordingly, informing the users that the project is no longer active.
204 204  * If there are open issues that are still valid (i.e. they still need to be implemented), consider moving them to a new active JIRA project.
205 -
Nov 30, 2026, 9:32:09 AM

Approved by Manuel Leduc

Approvers

Approvers have not been explicitly defined for this Change Request. Approvers will be based entirely on approval rights.

Get Connected