Filter CI based on field ,,Affected user'' - INC form
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2025 04:45 AM
Hi All
I have an INC form where I have two fields:
1. Affected user - u_affected_user
2. Configuration item - cmdb_ci
I want to filter Configuration items based on field ,,Affected user". Means when Affected user is selected then I want to show only these Configuration items which are assigned to this user.
So when I open CI form I see this user in Assigned to field.
How can I achieve this?
Thanks in advance
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2025 04:55 AM
Hi @Kasia5
Use the below script in Configuration item ref qualifier.
For classic view:
javascript:"assigned_to="+current.u_affected_user
For Catalog items:
javascript:"assigned_to="+current.variables.u_affected_user
Hope this helps.