-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error : The given key was not present in the dictionary #9
Comments
Cheers Zatox The tool contains internally a list of "default" jira work item priorities (I couldn't find an easy way of ascertaining this from Jira itself). Easiest thing to do is update this internal mapping. Again Zatox, really appreciate this - Thanks. Ian. |
Thanks again Zatox. Next enhancement will be to dynamically query the priorites from Jira. I'll certainly use what you've found. Apologies for the long delay in replying, unfortunately my day-job has prevented me from spending as much time as I would like supporting the tool. |
* #12: "There is no Project named X in Source Control". * #9: "Error: The given key was not present in the dictionary". See https://github.com/KilskyreMan/JiraToTfs/issues
Hi @Zatox, finally got round to fixing this issue :) |
I wanted to eliminate the "data variable" and created a brand new Jira Cloud. I created a few sample projects of different types but I was not able to import any of them. Everytime this error happens a few seconds after pressing "start import". It seems to me that this is more of a TFS issue this time.
I'm again running TFS 2012 on Windows server 2012.
Ian, if you want I can email you the credentials of the custom Jira cloud I created if you would like to try to reproduce.
Here is the exception log :
2016-04-12 17:38:20,405 [10] ERROR JiraToTfs.Presenter.JiraToTfsPresenter - System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary
2.get_Item(TKey key) at TicketImporter.TfsPriorityMap.get_Item(String lookUp) at TicketImporter.TfsProject.toWorkItem(Ticket toImport) at TicketImporter.TfsProject.CheckTicket(Ticket toAdd, IFailedTicket& failure) at TicketImporter.TicketImportAgent.StartImport() at JiraToTfs.Presenter.JiraToTfsPresenter.import_DoWork(Object sender, DoWorkEventArgs e) 2016-04-12 17:38:20,405 [1] ERROR JiraToTfs.Presenter.JiraToTfsPresenter - System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.Collections.Generic.Dictionary
2.get_Item(TKey key)at TicketImporter.TfsPriorityMap.get_Item(String lookUp)
at TicketImporter.TfsProject.toWorkItem(Ticket toImport)
at TicketImporter.TfsProject.CheckTicket(Ticket toAdd, IFailedTicket& failure)
at TicketImporter.TicketImportAgent.StartImport()
at JiraToTfs.Presenter.JiraToTfsPresenter.import_DoWork(Object sender, DoWorkEventArgs e)
The text was updated successfully, but these errors were encountered: