Support Many-to-Many Relationships for Sub-issues (Allow an issue to have multiple parent issues) #196996
Replies: 3 comments
-
|
This matches how the feature is currently modeled: sub-issues are a hierarchy, not a many-to-many graph. The current docs talk about a sub-issue's parent issue in the singular, and the REST API has a Docs:
For your use case, I would probably avoid duplicating issues and use one of these patterns:
I agree with the feature request though. Many-to-many parentage would be useful for cross-functional work, but it would also make progress calculations and hierarchy browsing more complex. Until GitHub supports that model directly, Projects fields are probably the cleanest workaround. |
Beta Was this translation helpful? Give feedback.
-
|
A many-to-many sub-issue model would definitely help for cross-functional planning, especially for shared infrastructure or platform work. One challenge GitHub would need to solve though is progress calculation. If one sub-issue belongs to multiple parent epics, completion percentages and dependency graphs could become ambiguous very quickly. A possible middle-ground could be:
That would preserve clean progress tracking while still supporting real-world workflows where a task impacts multiple teams/projects. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Question
💬 Feature/Topic Area
Issues
Body
Hello GitHub Team,
With the recent introduction of the Sub-issues feature, organizing work has become much easier. However, we have encountered a strict limitation: an issue can currently only belong to a single parent issue. If we try to add an existing sub-issue to a second parent, it is either rejected or moved, breaking the 1-to-N relationship constraint.
Our Use Case (Cross-functional workflows): In real-world scenarios, a Many-to-Many relationship is essential. A single issue often represents a piece of work that impacts or blocks multiple different initiatives simultaneously.
For example:
A single infrastructure task (e.g., "Migrate Database to v2") needs to be tracked under the "DevOps Q1 Initiatives" epic, but it is also a blocker that needs to be tracked under the "New User Authentication" product epic.
A core API change needs to belong to both the "Backend Refactor" epic and the "Mobile App v3.0 Release" tracking issue.
Currently, because an issue can only have one parent, we cannot natively link the same task to multiple parent tracking issues. We are forced to bypass the sub-issues feature entirely and use manual Markdown checklists inside the parent issue's body, which completely defeats the purpose of having native sub-issues for tracking progress and completion rates.
Feature Request: Please allow a single issue to be added as a sub-issue to multiple parent issues simultaneously.
Having the ability to build Many-to-Many hierarchies would accurately reflect how cross-functional teams operate and would prevent us from having to duplicate issues or rely on manual checklists just to track shared dependencies.
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions