Assignment group based on Configuration item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2022 05:41 AM
Assignment group field should display(shouldn't assign directly instead it should allow us to choose) all the related assignment groups based on the Configuration item chosen.
for example:
If we choose CI from database, Assignment group field should display all the available database groups.
- Labels:
-
Incident Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2022 05:57 AM
Hello,
Looks like your requirement is not correct, Generally only one Assignment is associated with CI but you are expecting list of Assignment group.? I don't think there is logic in it but if you want to populate assignment group based on CI select then below script will do.
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (isLoading || newValue === '') {
return;
}
g_form.getReference('cmdb_ci' , function(response){
g_form.setValue('assignment_group' , response.support_group);
});
}
Regards,
Musab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2022 11:07 AM
Hello,
If issue is resolved Kindly mark my answer as correct and close the thread.
Regards
Regards,
Musab