Hello,
This is what your task.xml file has:
< TRANSITION from="" to="Assigned">
< REASONS>
< REASON value="New Task assigned by Supervisor" />
< DEFAULTREASON value="New Task assigned by Submitter" />
</ REASONS>
The only allowed transition from "" is to "Assigned" but in the workitems.xml the default tasks being uploaded had Active as the initial state:
<WI type="Task"> <FIELD refname="System.State" value="Active" /> <FIELD refname="System.Reason" value="New" />
....
Secondly, the Reason value has to be changed from "New" to "New Task assigned by Supervisor".
Also, you are requiring a value for the EstimatedHours field but the default tasks do not have this field being set. So either remove the Required tag for the EstimateHours in task.xml or set a value for the default tasks in workitems.xml.
Once you make these changes to the default task items in workitems.xml file and upload the template, you should be able to create a project (I was able to :-))
Let us know if you are still having issues.
Yogita Manghnani (MSFT) |