Skip to content

[Maintenance] - Blocked By Tasks #4333

Description

@staysgt

Description

We want to update tasks to have a blocked by field, so users can easily tell what a task is blocked by.

Acceptance Criteria

  • Tasks include a field that lists the tasks blocking them
  • Users can add blocked tasks when creating or when editing a task
  • If a WP is blocked by another WP, tasks on the work package are blocked by the tasks on the other

Proposed Solution

  • add blockedBy to task model in schema.prisma and shared type
  • update task create/edit endpoints (task.services.ts, tasks.controllers.ts, tasks.routes.ts)
  • update useEditTask and useCreateTask hooks + their apis (tasks.hooks.ts, tasks.api.ts
  • update TaskFormModal.tsx to include the blocked by field
  • update TaskModal.tsx to display blocked by tasks

Mocks

No response

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions