Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
vi-or-die opened this issue Oct 2, 2020 · 2 comments
Closed

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

vi-or-die opened this issue Oct 2, 2020 · 2 comments
Assignees
Labels
bug TheHive4 TheHive4 related issues
Milestone

Comments

@vi-or-die
Copy link

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
@vi-or-die vi-or-die added TheHive4 TheHive4 related issues bug labels Oct 2, 2020
@To-om To-om self-assigned this Oct 21, 2020
@To-om To-om added this to the 4.0.1 milestone Oct 21, 2020
@To-om
Copy link
Contributor

To-om commented Oct 22, 2020

Now, the task is automatically started when the first log is created, thus if the task has a log its status can't be waiting and then won't be deleted when the case will be closed.

@To-om To-om closed this as completed Oct 22, 2020
@vi-or-die
Copy link
Author

@To-om Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug TheHive4 TheHive4 related issues
Projects
None yet
Development

No branches or pull requests

2 participants