← All requests
14

support cross-project task relations

OpenTasks & subtasksdfface (GitHub) · · edited

Problem Statement

Currently, task relations can only be created between tasks inside the same project. In real workflows, however, tasks are often related across project boundaries.

For example:

  • A frontend task may be blocked by an API task in another project.
  • A bug fix in one project may be related to a feature task in another project.
  • A design task may need to be tracked as a subtask of a task in a different project.

Today, users have to work around this limitation by duplicating tasks, adding plain-text references in descriptions, creating shared projects, or using external links. None of these preserve the actual relation between tasks, and they make dependency tracking harder as the workspace grows.

Proposed Solution

Allow task relations to target tasks in other projects.

Suggested scope for an initial implementation:

  • Allow a task in project A to be related to a task in project B, at least within the same workspace.
  • Reuse the existing relation types, such as subtask, blocks, and related.
  • In the task detail view, show cross-project relations clearly, including the project name or a project badge for the related task.
  • In the relation picker, allow searching or filtering tasks across projects.
  • Update the API so targetTaskId can belong to a different project, with proper authorization checks.
  • Ensure users can only create relations between tasks they have access to.
  • Keep the current single-project behavior unchanged.

Cross-workspace relations could be considered later, but starting with cross-project relations within the same workspace would cover most practical use cases while keeping permissions simpler.

Alternative Solutions

  • Move the task to another project: Not always appropriate, because it changes the task’s ownership, context, and project structure.
  • Duplicate the task: Creates two sources of truth and makes status updates unreliable.
  • Add an external URL or plain-text reference: Does not create a real relation and cannot support dependency tracking.
  • Create a shared project for related tasks: Pollutes the project structure and defeats the purpose of project-based organization.
  • Use a global task list only: Helps discovery, but does not solve the need for explicit task-to-task relations.
  • Support only blocks relations across projects first: Could be an incremental step, but it would make the relation model inconsistent and confusing.

Relevant Context

Kaneo v2.24.0

Image

Does this feature align with Kaneo's focus on simplicity?

Yes, if it is scoped carefully.

It extends an existing concept—task relations—to cover a real workflow that users already need. It removes manual workarounds and keeps related work connected without forcing users to reorganize their projects.


Originally requested by @dfface on 2026-09-19. Original GitHub request #1752.

Issue #1752

Discussion 4

mendeza (GitHub)

👍🏼 +1 to this, but furthermore realize that cross-workspace task relations can even be necessary.

Original GitHub comment

Damián Culotta

I agree with mendeza's comment.
If your access permissions or assignments allow you to see a project, you should be able to link a task even across workspaces.

A potential use case or need might arise when you are developing a project or product in one workspace, but a project in another workspace has created a ticket that is resolved by the work you are currently doing, or requires you to complete a task so that the second project can advance to the next stage.

Philipp Chadid

+1 – we need this too (self-hosted, Kaneo v2.48.0, Docker image).

Something that might make this smaller than it looks: the backend already accepts cross-project relations within the same workspace. create-task-relation.ts only checks that both tasks are in the same workspace and that the user has access to the target project – not that they share a project. The task detail view also already shows such relations correctly, with the other project's key and a working link.

What's missing is only the relation picker: task-relations.tsx loads candidates with useGetTasks(projectId), so it only offers tasks from the current project.

Current workaround (tested): create the relation between two tasks in the same project, then move one task to the other project (Ctrl/Cmd+Shift+M). The relation survives the move and works afterwards. But moving changes the task number, so it isn't a real solution.

So a workspace-wide search in the picker would probably cover most of this request.

Sign in to comment.

Keyboard shortcuts

Anywhere

Go to requests
gh
Go to changelog
gc
Go to notifications
gn
Next or previous page
norp
Leave a text field or close a menu
Esc
Show this list
?

Requests

Move to the next or previous request
jork
Open the selected request
oorEnter
Vote on the selected request
v
Search
/
New request
c

Request

Vote
v
Write a comment
c
Edit
e