Resolution description on resolved incidents

Oct 12, 2011 at 10:31 AM

Hello!

How it possible to fill Resolution Description field (need when incident indicating as resolved)?

Nick

Developer
Oct 21, 2011 at 12:10 AM

you need to set the ResolutionDescription on the incident instance, code-wise, it will look something like:

get-scsmclass workitem.incident$ | get-scsmobject  -Filter "DisplayName = CustomIR28" | set-scsmobject -PropertyHashtable @{ ResolutionDescription = "description" }

 

jim

Oct 21, 2011 at 6:12 AM
Edited Oct 21, 2011 at 6:21 AM


Thank you for your reply!

I already found solution like on your example but little bit different
Get-SCSMClass -Name "System.WorkItem.Incident$" |Get-SCSMObject -Filter "Id -eq $SDRequest" | Set-SCSMObject -Property ResolutionDescription -Value $RequestDescription

Nick