We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

C# Update Incident's AssignedTo to No Value

Accepted answer
edited Sep 7, 2016 2:17PM in Integrations and APIs 4 comments


I am trying to update the Incident's AssignedTo value to No Value but it is not working.  It is still staying assigned to my account.  There is nothing in the Incident Rules that would assign it back to my account.

-Andrew W-


February 2016

Code Snippet

             Incident incident = new Incident();
                    ID incidentID = new ID();
                    incidentID.id = x;
                    incidentID.idSpecified = true;

                    incident.ID = incidentID;

                    GroupAccount account = new GroupAccount();                    
                    NamedIDHierarchy accountID = new NamedIDHierarchy();
                    accountID = null;                  
                    account.Account = accountID;

                    incident.AssignedTo = account; 

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!