How to get the WorkItems from a Project Area based on their type ?
I am trying to get all the work items which have their type as defect from a particular project area. But I'm only able to get all the work items irrespective of their type from a particular project area. Can any one please tell me how to add the type criteria and get the work items which are of type defect. Below is the code which I am working on.
Thanks. String repoUri = "****************"; final String userId = "****************"; final String password = "******************"; List<IWorkItem> defectWorkitems=new ArrayList<IWorkItem>(); TeamPlatform.startup(); try { |
One answer
see Ralphs blog on querys
https://rsjazz.wordpress.com/2012/10/29/using-work-item-queris-for-automation/ Comments
Sujith Gannamaneni
commented Aug 23 '14, 9:43 p.m.
I m getting an error while running the above code right after printing the Project Area list.
sam detweiler
commented Aug 24 '14, 6:30 a.m.
Hm.. I have not figured out how to configure a batch application using the plain java apis to support running scripted extensions.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.