Sperate Workitems to Teamareas
Accepted answer
https://jazz.net/wiki/bin/view/Main/QueryDevGuide has an example of how to create a query by project area, which may help you get started.
Comments
Thanks helped alot =D just one other problem I can find what IWorkItem function gets the field Found In
You're welcome. :-)
https://jazz.net/forum/questions/84545/how-to-get-work-item-found-in-attribute-value has an example of how to get the value of the field Found In.