Platform Analytics dashboard filter: show only CIs used in Change Requests (not the whole CMDB)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi all,
I have a Platform Analytics dashboard built on the Change Request table, with a filter on Configuration item.
Problem:
- The filter dropdown lists CIs from the whole CMDB, not just CIs used on change requests.
- It also shows junk records like ${{arpDisplayName}}.
What we need:
- The dropdown should show only CIs linked to at least one Change Request.
What we tried:
- Added a condition on the filter and on the data source (for example, CI is not empty). The dropdown still shows all CIs.
- Tried filtering on a different field (dot-walked CI fields).
- Checked the dictionary entry for task.cmdb_ci. It uses an advanced reference qualifier with this script:
Script: ['incident', 'problem'].indexOf(current.sys_class_name + '') == -1 ? '' : 'operational_statusNOT IN' + new OpsStatusFilter('cmdb_ci').by('CreateTask').join()
- Added a condition to exclude Retired CIs (Operational status is not Retired). We get results, but the dropdown still shows more than 1 lakh (100,000) extra CIs that are not used in any Change Request.
Question:
What condition should we set in the filter's Configure values so the Configuration item dropdown shows only the CIs that are used in Change Requests?
Thanks in advance for any suggestions.
Release: Australia