Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DTPDEVEL and version 2025.2

...

 In this section:

Table of Contents
maxLevel2

Creating a

...

Filter

A filter is automatically created when a new project is added to DTP, but you can create additional filters to facilitate custom views of the data associated with the project.

  1. Choose Report Center Settings from the settings (gear icon) menu.
  2. Choose Filter Filters from the Administration menu and click Create Filter.
  3. Enter a name for the filter and choose a project from the Associated Project menu.
  4. Click Create to add the filter.

    You can still change the filter settings when the Create Filter dialog closes.
     

    ExcerptYou can configure how coverage images and Changes are saved automatically.

Automation Association of New Data
Anchor
NewData
NewData

Excerpt

This setting affects how run configurations are added

...

to the filter.
Image Modified

  • Choose None to disable the automatic association of data.
  • Choose Associated Projects to automatically associate data from the associated project with the filter. 
  • Choose All Projects

...

  • to automatically associate data from all projects with the filter.

...

Example

Suppose you have a filter called "My Filter" with Associated Project set to "Cromwell" and your CI/CD pipeline runs C/C++test Static Analysis then sends the XML report to DTP:

  • Run 1: for Project named "Cromwell"
  • Run 2: for Project named "Drones"

If Automatic Association of New Data is set to Associated Project:

  • Run Configuration for run 1 will be automatically added to this filter. The results of run 1 will be associated with this filter.

If Automatic Association of New Data is set to All Projects:

  • Run Configuration for run 1 will be automatically added to this filter. The results of run 1 will be associated with this filter.
  • Run Configuration for run 2 will be automatically added to this filter. The results of run 2 will be associated with this filter.
Note

Choosing All Projects will associate all incoming data from every project with this filter, which can clutter the filter with unrelated or unexpected data. You can prevent this situation by turning off users' ability to choose All Projects. To do this, set <auto-add-new-run-configurations-allow-all> to false in PSTRootConfig.xml:

Code Block
languagexml
    <filter-settings>
        <auto-add-new-run-configurations-allow-all>false</auto-add-new-run-configurations-allow-all>
    </filter-settings>

Changes are saved automatically. The new filter will be available in the Report Center dashboard filter menu.

...

Configuring Filter Settings

...