how do I query multiple projects to find all defect workitems using java api
I can query multiple project using
IQueryResult<IResolvedResult<IWorkItem>> results = queryClient.getResolvedExpressionResults(null, exprssion,IWorkItem.MEDIUM_PROFILE); How would I create an expression for workitem type = "defect" for multiple projects, I can see how to do it for a single project? |
One answer
Ralph Schoon (63.5k●3●36●46)
| answered Jan 10 '14, 10:15 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
As far as I know, today queries are limited to one project area. So I assume you have to use multiple queries each on its own project area as shown here: http://rsjazz.wordpress.com/2012/10/29/using-work-item-queris-for-automation/.
Comments 1
K M
commented Jan 10 '14, 11:11 a.m.
Nope if you run this with projectArea as null you query all the projects
|
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.