Query for Work Items targeted to a Development Line
![](http://jazz.net/_images/myphoto/0e49ef70187812d29bd5f160beaca677.jpg)
I need to query for work items in a particular development line. If I have the work item wi, then (IIteration)(wi.getTarget().getFullState()).getDevelopmentLine() finds the Development Line for work items returned by a query, so I could get all the work items for the ProjectArea and spin through and filter.
But how can I set up the query so I don't have to get all the other work items that I don't want?
But how can I set up the query so I don't have to get all the other work items that I don't want?