What data type is a work item? How to retrive it? How is it store?
My first question on the forum, I have an ambitious plan to add customized functions to the RTC/WBS planner.
Just started reading this article;
https://rsjazz.wordpress.com/2013/01/02/working-with-work-item-attributes/
please if you more helpful resources point me to them. Thank you all.
Accepted answer
If you are using the java API, you don't need to put much concern on the details of what goes on under the covers in RTC.
- Work Item is a collection of attributes ( fields if you will ), editor presentations and work flow.
-
Work Item types can be distinguished by their identifier ( or name Task, Defect, etc ). The name is usually an indicator of the intended meaning for the work item. Task - something to do; Defect - something to fix.
- Attributes have many "raw" data types ( integer, string, enumeration, etc )
-
The java API can be used to create or update work items.
Other good docs are the product documentation as well as numerous articles one can find under the Library menu above.
There are also behaviors that can be used with work items by simply configuring in the respective RTC project. E.g. Make sure all attributes are valid, Specifying required attributes for a given work item type