Skip to content

Automatic temporary suppression of entities #12519

@fniessink

Description

@fniessink

User story

As a quality manager I want Quality-time to automatically suppress new measurement entities for a brief period of time to give developers a chance to fix entities before I point them out to them.

Acceptance criteria

  • The user can set the suppression period per source (which is 0 days by default).
  • Suppressed entities are not counted towards the measurement value.
  • Suppressed entities are crossed out in the measurement detail tables and have the status "Temporarily suppressed" and the status end date has been set.
  • The eye-button in the measurement details table to hide crossed out measurement entities also hides "Temporarily suppressed" entities.

Assumptions

  • We can use the same logic for not counting suppressed measurement entities as we use for entities marked as false positive, etc.

Open issues

  • n/a

Out of scope

  • n/a

Tasks

Components

Front-end

  • Under source, add a parameter "Temporary suppression" for setting the suppression period. Default value is 0 days. Negative values not allowed.
  • Make a separate new parameter group for the "Temporary suppression" parameter.

Shared code

  • n/a?

API-server

  • Change endpoint endpoint
  • Add ...

Collector

  • When inserting new measurements, look at the "Temporary suppression" parameter and set the status and end date of new measurement entities, using the entity_user_data object.

Feature tests

  • role does action
  • ...

Documentation

  • Update changelog
  • Add instruction to user manual

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Technical refinement in progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions