diff --git a/thehive/app/org/thp/thehive/services/CaseSrv.scala b/thehive/app/org/thp/thehive/services/CaseSrv.scala index 3098861539..e271b2af2b 100644 --- a/thehive/app/org/thp/thehive/services/CaseSrv.scala +++ b/thehive/app/org/thp/thehive/services/CaseSrv.scala @@ -219,6 +219,7 @@ class CaseSrv @Inject() ( `case`: Case with Entity, impactStatus: ImpactStatus with Entity )(implicit graph: Graph, authContext: AuthContext): Try[Unit] = { + get(`case`).unsetImpactStatus() caseImpactStatusSrv.create(CaseImpactStatus(), `case`, impactStatus) auditSrv.`case`.update(`case`, Json.obj("impactStatus" -> impactStatus.value)) }