Unable to copy resolution information in incident even if set com.snc.incident.copy.attributes property


Description

The resolution information in incident are not copied even after added ",knowledge,close_code,close_notes,resolved_by,resolved_at" to the following property value to copy the resolution information in incident.
--------
Name : com.snc.incident.copy.attributes
Desc : List of attributes (comma-separated) that will be copied from the originating incident
--------

Cause

Definition of the Script Include to ignore some fields while a Copy functionality is being done:IncidentUtilsSNC

Script in the Script Include responsible:

ALWAYS_IGNORE_ATTRS:
ALWAYS_IGNORE_ATTRS:
['active', 
'additional_assignee_list', 
'child_incidents', 
'close_code', 
'close_notes', 
'closed_at', 
'closed_by', 
'created', 
'created_by', 
'hold_reason', 
'knowledge', 
'made_sla', 
'notify'
,'number', 
'opened_at', 
'opened_by', 
'reassignment_count', 
'reopen_count', 
'resolved_at', 
'resolved_by', 
'sys_id', 
'sys_domain', 
'sys_mod_count', 
'time_worked', 
'updated', 
'updated_by', 
'watch_list', 
'work_notes_list'],

Resolution

This script can be over-ridden in Script Include: IncidentUtils

 

Remove Attributes which ever you would like to copy

ALWAYS_IGNORE_ATTRS:
['active', 
'additional_assignee_list', 
'child_incidents', 
'close_code', 
'close_notes', 
'closed_at', 
'closed_by', 
'created', 
'created_by', 
'hold_reason', 
'knowledge', 
'made_sla', 
'notify'
,'number', 
'opened_at', 
'opened_by', 
'reassignment_count', 
'reopen_count', 
'resolved_at', 
'resolved_by', 
'sys_id', 
'sys_domain', 
'sys_mod_count', 
'time_worked', 
'updated', 
'updated_by', 
'watch_list', 
'work_notes_list'],