Welcome to the Jazz Community Forum
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?
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?