Adding attachment to closed incident
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2017 10:34 PM
Hi
I need to change priority for a closed incident from p1 to p4 as it is users requirement.
Can I add attachment to closed incident ?
please advice.
Regards,
Nikita Khavnekar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2017 10:42 PM
This shud help u for attachement
Attachments to close incidents
And for priority change. You can run a backgorund script
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2017 10:59 PM
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2017 11:15 PM
Hi Nikita,
For changing the Priority of Closed Incident, you can use the below background script:
var gr = new GlideRecord('incident');
var string='numberININC0010056,INC0010057,'; //Replace this query with the Incident Numbers you want to update
gr.addEncodedQuery(string)
gr.query();
while(gr.next())
{
gr.setWorkflow(false);
gr.autoSysFields(false);
gr.impact = 1; // Update the Impact Value as desired
gr.urgency = 3; // Update the Urgency Value as desired
gr.priority = 3; // Update the Priority Value as desired
gr.update();
}
Hope this helps. Mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke