Can the client API set a project area programmatically?
Hi All,
We have a new work item type that is approved by managers.
After it is approved the work item will move from one project area to another. The final project area is accessible to our development team that will address the work item.
The client API allows the getting of the WorkItem's project Area; but can it allow the setting of the Project Area? The Web UI and Eclipse client can perform this action but we need this done programmatically.
Is it possible?
We have a new work item type that is approved by managers.
After it is approved the work item will move from one project area to another. The final project area is accessible to our development team that will address the work item.
The client API allows the getting of the WorkItem's project Area; but can it allow the setting of the Project Area? The Web UI and Eclipse client can perform this action but we need this done programmatically.
Is it possible?
2 answers
You might want to look into the Eclipse code to move work items to another project area. I don't think it is as easy as Sam suggests. As far as I can tell, a work item references the project areas process and it is in general not possible to assume source and target project area have the same process. You will also have to do some mapping. I don't know how the client or the web UI does it, but it has to take this under consideration.