In the TFS Workitemtracking Web service, you can call the Update method and set an attribute called BypassRules to true. That bypasses most of the rules for the Workitemtype in the Project. It is meant to be used to migrate data into the Server from other sources, where the data being passed in may not match the rules currently in existence on the server. A few things to note about this:
A sample package is pasted below. Say the Bug workitemtype in a Project allows new Bugs to be created only with State = Active. The Bypass rules package below, when run by a member of the Service Accounts group, will ignore that rule.
<Package> <InsertWorkItem ObjectType='WorkItem' BypassRules='1'> <Columns> <Column Column='System.AreaID' Type='Number'><Value>5</Value></Column> <Column Column='System.IterationID' Type='Number'><Value>10</Value></Column> <Column Column='System.WorkItemType' Type='String'><Value>bug</Value></Column> <Column Column='System.Title' Type='String'><Value>New bug</Value></Column> <Column Column='System.State' Type='String'><Value>Closed</Value></Column> <Column Column='System.Reason' Type='String'><Value>New</Value></Column> <Column Column='System.CreatedDate' Type='ServerDateTime'></Column> <Column Column='System.CreatedBy' Type='String'><Value>John Doe</Value></Column> <Column Column='System.ChangedBy' Type='String'><Value>John Doe</Value></Column> </Columns> </InsertWorkItem></Package>