You can right click on the task and select replace, but this is a manual operation. There is no history on what the previous namespace was.
Another way to solve this would be to use JSON serialization and then modify the namespace manually within a text editor.