Open Chrissteven81 opened 7 years ago
Is this the message you get?
I'm seeing this connecting to a XXX.visualstudio.com address.
Method updateEAGUIDToTFS fails to update EA's GUID into field Ext_RefId. Solution: Add a field with this name to your Work Items in TFS. Then import should work again. @gbarrett7124: I had the same error before I added a new Field to the work items in TFS...
I always get this error connect VSTO https://xxx.visualstudio.com trying to get requirement from TFS -> EA. I can browse to the site so project settings are OK. What is the mediatypeformatter used (JSON, XML, text) ?
Error Message: No MediaTypeFormatter is available to read an object of type 'WorkItemQueryResult' from content with media type 'text/html'.
Stacktrace: at System.Net.Http.HttpContentExtensions.ReadAsAsync[T](HttpContent content, Type type, IEnumerable1 formatters, IFormatterLogger formatterLogger, CancellationToken cancellationToken) at System.Net.Http.HttpContentExtensions.ReadAsAsync[T](HttpContent content, Type type, IEnumerable
1 formatters, IFormatterLogger formatterLogger)
at System.Net.Http.HttpContentExtensions.ReadAsAsync[T](HttpContent content, IEnumerable`1 formatters)
at System.Net.Http.HttpContentExtensions.ReadAsAsync[T](HttpContent content)
at EAAddinFramework.WorkTracking.TFS.TFSProject.getAllWorkitems() in C:\Users\LaptopGeert\Documents\GitHub\Enterprise-Architect-Add-in-Framework\EAAddinFramework\WorkTracking\TFS\TFSProject.cs:line 175
at EAAddinFramework.WorkTracking.TFS.TFSProject.get_workitems() in C:\Users\LaptopGeert\Documents\GitHub\Enterprise-Architect-Add-in-Framework\EAAddinFramework\WorkTracking\TFS\TFSProject.cs:line 83
at EATFSConnector.EATFSConnectorAddin.synchTFSToEA()
Hello, I also get the same error that gbarrett7124 mentions.
@pjezek I already tried adding the Ext_RefId as a new field on the work item but still doesn't work. I added the field in the "customization" option. and used that exact name. Is this the right way to do it?
Also, when I synch the other way around I don't get error but the result says 0 work items were synched. When looking at logs I get this message: 07-05-2018 03:40:38.373 diff: 57786.7496 ms Error: Could not create workitem on TFS with title: 'UC001 because of error Statuscode: Unauthorized Reasonphrase: Unauthorized
Field/EXT_REFID is a missing field