This method creates a work item under the item identified by parentId. The integer value returned is the ID of the newly created work item. The parameters for the CreateWorkItem method are:

Parameter Datatype Description
token string The token returned by the Connect method.
name string The name for the work item to create.
parentId integer The ID of the item where the work item should be created.
fields attribute[] The key/value pairs of the attributes associated with the new work item.