Use API to move item from one ProjectArea to another
I haven't been able to find a way to use the REST API directly to change the project area for a work item from one to another. I send along either this package:
{ "rtc_cm:projectArea": "New Project Area" }
or
{ "rtc_cm:projectArea": "https://server/ccm/oslc/projectareas/_asdfasdfasdf"}
or
{ "rtc_cm:projectArea":{ "rdf:resource": "https://server/ccm/oslc/projectareas/_saasdfasd"}}
and none of them actually change the project area, but none offer any error, either.
Accepted answer
Because work items "live" in a project area and each project area has its own process, you can not just change the project area. You have to create a new work item in another project area and set the values as appropriate for the process that project area uses.
This is the reason why there is actually a move to project area in the tool, that does all this copy/mapping.
This is the reason why there is actually a move to project area in the tool, that does all this copy/mapping.
Comments
1 vote