vsts-work-item-migrator icon indicating copy to clipboard operation
vsts-work-item-migrator copied to clipboard

Migration fails with "Object reference not set to an instance of an object."

Open valenker opened this issue 7 years ago • 5 comments

When default-iteration-path or default-area-path do not exist on the target project migration fails with uninformative error message - "Object reference not set to an instance of an object."

Instead - migrator should validate default-iteration-path or default-area-path and display meaningful errors if they don't.

valenker avatar Jan 14 '18 03:01 valenker

I debugged this, and it appears to be a VSTS issue. The migrator is just returning the error returned from the REST call. I'll dig further to see what I can fix on the VSTS side to handle this more gracefully.

obvioussean avatar Jan 15 '18 05:01 obvioussean

I get the same error too @sferg-msft

srivatsamarichi avatar Mar 23 '18 08:03 srivatsamarichi

@SrivatsaMarichi To work around the issue, either clear the default-iteration-path and default-area-path properties or set them to the project name.

obvioussean avatar Mar 23 '18 14:03 obvioussean

@sferg-msft Yep, worked thanks!

srivatsamarichi avatar Mar 25 '18 12:03 srivatsamarichi

just remove "default-iteration-path" and "default-area-path" properties migrator will detect the iterations and will do the migration according to the iterations automatically.

irzum avatar May 02 '19 11:05 irzum