Comments (11)
It sounds like 5.1 does not support the features being accessed. 6.0 would be the minimum...
You would need to use 7.2 if 6 is no longer supported.... but Im not sure what 2019 supports
from azure-devops-migration-tools.
I see - thanks for your help!
from azure-devops-migration-tools.
@MrHinsh You find the current REST API - AzD version mapping table at Mapping Table. 2019 only supports REST API version 5.x.
from azure-devops-migration-tools.
Then it looks like the pipeline migrator is not supported in 2019. We need 6.1+ for it to work.
@norschel is there a way to detect the version of TFS from the API?
from azure-devops-migration-tools.
Hi Everyone,
I am using the migration tool to migrate the pipelines from one organization to another in Azure Devops. I am getting the below error. Can anyone please help me with this?
[15:09:40 FTL] Error while running AzureDevOpsPipelineProcessor
System.NullReferenceException: Object reference not set to an instance of an object.
at MigrationTools.Processors.AzureDevOpsPipelineProcessor.d__17.MoveNext() in D:\a\1\s\src\MigrationTools.Clients.AzureDevops.Rest\Processors\AzureDevOpsPipelineProcessor.cs:line 304
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MigrationTools.Processors.AzureDevOpsPipelineProcessor.d__9.MoveNext() in D:\a\1\s\src\MigrationTools.Clients.AzureDevops.Rest\Processors\AzureDevOpsPipelineProcessor.cs:line 95
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MigrationTools.Processors.AzureDevOpsPipelineProcessor.InternalExecute() in D:\a\1\s\src\MigrationTools.Clients.AzureDevops.Rest\Processors\AzureDevOpsPipelineProcessor.cs:line 49
at MigrationTools.Processors.Processor.Execute() in D:\a\1\s\src\MigrationTools\Processors\Processor.cs:line 106
from azure-devops-migration-tools.
Please create a new thread @madhuripawar2212; this is a different topic.
When you do post, attach your config and logs.
from azure-devops-migration-tools.
Then it looks like the pipeline migrator is not supported in 2019. We need 6.1+ for it to work.
@norschel is there a way to detect the version of TFS from the API?
In case of WorkItemMigrationConfig, you can ask the TfsProjectCollection class for serverversion, e.g.:
y = new TfsTeamProjectCollection(TfsConfig.Collection);
Log.Debug(y.ServerDataProvider.ServerVersion);
The result is for example:
ServerVersion = "Dev19.M225.3" (AzD 2022)
.
For the REST API you can call any REST API (without providing the api-version) and then check the content-type of the response header. The result in this case is for example:
Content-Type: application/json; charset=utf-8; api-version=5.1-preview.1
from azure-devops-migration-tools.
@tomfrenzel perhaps adding a kill switch in the event of an older API!
from azure-devops-migration-tools.
@MrHinsh I am getting the same error while migrating pipelines, please help
Version - 12.0
Source - azure devops server 2019
Target - azure devops services
Error -
{"$id":"1","innerException":null,"message":"The requested REST API version of 6.0 is out of range for this server. The latest REST API version this server supports is 5.1.","typeName":"Microsoft.VisualStudio.Services.WebApi.VssVersionOutOfRangeException, Microsoft.VisualStudio.Services.WebApi","typeKey":"VssVersionOutOfRangeException","errorCode":0,"eventId":3000}
from azure-devops-migration-tools.
The pipeline migrator needs a minimum of V6 of the Rest API.
Your version of TFS is not supported.
from azure-devops-migration-tools.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days
from azure-devops-migration-tools.
Related Issues (20)
- Revisions assigning users incorrectly HOT 1
- [Feature] Move Link Creation to Revision rather than Work Item HOT 1
- [Bug]: Pipelines migration: AzureDevOpsPipelineProcessor System.NullReferenceException when REST API does not return repo properties of a build pipeline HOT 5
- Force Set ClosedDate as needed
- [Preview] zero based bug in String manipulator
- Getting the following error with v15 preview 267. HOT 1
- [Bug] ClosedDate is set to Null and will revert to the current date on save! HOT 19
- [Bug] Sometimes the tool creates Empty workitems - no title, and set to new... no fields mapped HOT 11
- [BUG] Work Item Type with different capitalization Causes Error HOT 3
- [BUG] TEstMigration Uses CommonEnrichersConfig directly instead of through safe method
- [Bug]: System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object HOT 1
- Merge Name guessing tool to UserMapper and insert usermapper here. HOT 1
- [16:08:20 FTL] [v15.0.1] Error while running ExportUsersForMappingContext HOT 2
- Tes t4
- [bug] Error as values not passed to attachment migrator HOT 3
- [Bug]: Pipelines migration: AzureDevOpsPipelineProcessor System.ArgumentNullException: Value cannot be null. Parameter name: source HOT 2
- [Bug]: Unable to configure store HOT 2
- TF30063: You are not authorized to access with APT Token HOT 2
- [Bug]: Images Not Correctly Migrated from TFS Server URLs Containing Spaces HOT 2
- Error saving query 'Transition Planning', probably due to invalid area or iteration paths Microsoft.TeamFoundation.WorkItemTracking.Client.InvalidQueryTextException: TF51005: The query references a field that does not exist. The error is caused by «[Custom.ApplicationID]». ---> Microsoft.TeamFoundation.WorkItemTracking.Client.Wiql.SyntaxException: TF51005: The query references a field that does not exist. The error is caused by «[Custom.ApplicationID]».
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-devops-migration-tools.