Skip to content

[Bug] Case Tasks get deleted if not started #1565

Closed
@vi-or-die

Description

@vi-or-die

Case tasks get deleted if the task wasn't started before closure of the case

Request Type

Bug

Work Environment

Question Answer
OS version (server) RedHat
OS version (client) 10, MAC
TheHive version / git hash 4.0.0
Package Type RPM
Browser type & version Chrome & Firefox

Problem Description

If a case task has comments added to it, but the start task button was never clicked, the task and the associated logs are deleted when the case is resolved. Previously in v3 when a comment was added to a task it was automatically started.

Steps to Reproduce

  1. Create Case
  2. Create a task
  3. Add comment to the task but do not click start task
  4. Close the case
  5. Check case for task

Possible Solutions

None

Temporary work arounds

  • Require users to start tasks they are adding comments in.
  • Maybe use webhook/api when version 1 is released

Metadata

Metadata

Assignees

Labels

TheHive4TheHive4 related issuesbug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions