I'm using the new REST API to interact with Work Items and I'm running into some issues. So far I can find work items and read their field values. I'd like to be able to create/update them.
1. How do I know what values are valid for a work item "System.State" value? Can I transition from one state to another however I want? I understood that there may be some restrictions. Are these documented anywhere?
2. I am getting 400 errors (Bad Request) when trying to create a work item; including "TF401320: Rule Error for field System.State. Error code: Required, HasValues, LimitedToValues, InvalidListValue." Is there a specific list of required fields and values somewhere?
3. Can I get the valid transitions / State for an issue or issue type?
4. Can I determine what process template is associated with a project?
Thanks,
Geoff