|
|
Corrections related to reference filters and tracker views are strongly connected, and each correction relies on inconsistencies being fixed by previous corrections.
When using corrections related to reference filters and tracker views, it is recommended to start with this correction.
For additional information, see Corrections for Reference Filters and Tracker Views.
|
|
|
For a general, step-by-step guide on using the corrector module, see Using the Data Inconsistency Corrector Module.
|


|
Column
|
Description
|
||
|---|---|---|---|
|
id
|
The ID number for the detected issue.
Detected issues are numbered, starting at 1.
|
||
|
object_id
|
The global ID of the field to which the invalid or duplicated reference filter is applied.
|
||
|
revision
|
If the invalid or duplicated reference filter is contained in the object_revision table1, this shows the revision number.
|
||
|
reference_filter_source
|
Shows the table that contains the invalid or duplicated reference filter. The invalid reference filter can be contained in the following tables:
• object_reference_filter—If the item that contains the field with the invalid reference filter has no revisions.
• object_revision—If the item that contains the field with the invalid reference filter has at least one revision.
|
||
|
type_id
|
Shows the type of reference contained in the field with the invalid or duplicated reference filter. For example, a type_id of 9 means that the field refers to Work/Config items.
|
||
|
qualifier
|
The ID of the type of the tracker that contains the item that is being referenced by the invalid or duplicated reference filter.
This has a valid value if the domain_type is 2.
If the domain_type is 3, this is is invalid and has the <null> value.
|
||
|
domain_type
|
Shows type of item that is being referenced by the field that contains the invalid or duplicated reference filter. The possible values are the following:
• 2—The invalid or duplicated reference filter is referencing an item in a specific project.
• 3—The invalid or duplicated reference filter is referencing an item in a specific tracker.
|
||
|
domain_id
|
Shows the global ID of the project or tracker that is being referenced by the field with the invalid or duplicated reference filter.
If the domain_type is 2, this is the ID of a project.
If the domain_type is 3, this is the ID of a tracker.
|
||
|
filter_id
|
If the invalid or duplicated reference filter has a tracker view, that is an additional conditional filter, this is the ID of that tracker view.
|
||
|
flags
|
If a status filter is applied using the invalid or duplicated reference filter, this shows the status of the references contained in the field. For example, this can indicate references in the Open status.
|
||
|
duplicate_reference_filters
|
If the detected reference filter is valid but duplicated, this contains all of the duplicates of the reference filter, in JSON format. In this case, the action column contains the following value:
Input required: Select filter to keep
Manual input is required to select which reference filter is kept.
Enter the index number of the selected reference filter. That filter is not deleted by this correction. The index number is the number of the selected reference filter in the JSON array. Indexing starts at 1.
|
||
|
errors
|
Contains error identifiers separated by commas.
If the detected reference filter is invalid, it is deleted without manual input. In this case, the following error identifiers are possible:
• MISSING_TYPE_ID—The related type_id is <null>.
• MISSING_DOMAIN_TYPE—The related domain_type is <null>.
• MISSING_DOMAIN_ID—The related domain_id is <null>.
• MISSING_QUALIFIER—The related qualifier is <null> or empty, but should have a valid value based on the domain_type.
• EXISTING_QUALIFIER—The related qualifier is not <null> or empty, but should be <null> or empty based on the domain_type.
• INVALID_TRACKER_DOMAIN—The related domain_type is 3, but the domain_id does not belong to a tracker.
• INVALID_PROJECT_DOMAIN—The related domain_type is 2, but the domain_id does not belong to a project.
• INVALID_TRACKER_VIEW_FILTER—The related filter_id does not belong to a tracker view.
If the detected reference filter is valid but duplicated, manual input is required in the action column. In this case, the following error identifier is shown:
• REFERENCE_FILTER_NOT_UNIQUE—The reference filter is valid but duplicated.
|
||
|
action
|
Shows the action to be performed when clicking Restore. Depending on the type of issue, manual input is sometimes required. The following values are possible:
• DELETE—Manual input is not required. Clicking Restore deletes the related reference filter.
• Input required: Select filter to keep—Manual input is required. Clicking Restore deletes all related reference filters, except the reference filter selected here.
The required manual input is the index number of the selected reference filter. The index number is the number of the selected reference filter in the JSON array contained in the duplicate_reference_filters column. Indexing starts at 1.
For example, change Input required: Select filter to keep to 2 to keep the 2nd reference filter listed in the duplicate_reference_filters column and delete the other reference filters.
|
||
|
flag
|
The flagged status of the issue, which can be 0 or 1. Clicking Restore corrects issues with a flagged status of 1.
For more information, see the Flagging and Processing Inconsistencies page on the Codebeamer Help Center.
|
||
|
processed
|
The processed status of the issue, which can be 0 or 1.
For more information, see the Flagging and Processing Inconsistencies page on the Codebeamer Help Center.
|