Skip to content
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 work item type Product Backlog cannot be found. It may have been renamed or destroyed. #85

Closed
vishwanathk26071981 opened this issue Sep 25, 2019 · 7 comments

Comments

@vishwanathk26071981
Copy link

Hi,

I am getting the below error while importing from JIRA. Can you please let me know the fix for this.

[Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemTypeDeniedOrNotExistException] Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemTypeDeniedOrNotExistException: TF201077: The work item type Product Backlog cannot be found. It may have been renamed or destroyed.
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemTypeCollection.get_Item(String typeName)
at WorkItemImport.Agent.CreateWI(String type)
at WorkItemImport.ImportCommandLine.ExecuteMigration(CommandOption token, CommandOption url, CommandOption configFile, Boolean forceFresh):
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemTypeCollection.get_Item(String typeName)
at WorkItemImport.Agent.CreateWI(String type)
at WorkItemImport.ImportCommandLine.ExecuteMigration(CommandOption token, CommandOption url, CommandOption configFile, Boolean forceFresh)

@MOlausson
Copy link
Member

@vishwanathk26071981 Check your Azure DevOps configuration, most likely the name of the work item type is "Product Backlog Item" and not "Product Backlog" like the log shows you are using.

@vishwanathk26071981
Copy link
Author

vishwanathk26071981 commented Sep 26, 2019 via email

@vishwanathk26071981
Copy link
Author

vishwanathk26071981 commented Sep 26, 2019 via email

@MOlausson
Copy link
Member

Odd. Can you make sure that the PAT you are using was created with the correct scope (https://github.com/solidify/jira-azuredevops-migrator/blob/master/docs/overview.md#azure-devopstfs-requirements) and that the project you are migrating to is configure with the Scrum template.

Also great if you can share your config file so we can take a look.

@MOlausson MOlausson reopened this Sep 26, 2019
@vishwanathk26071981
Copy link
Author

vishwanathk26071981 commented Sep 26, 2019 via email

@MOlausson MOlausson added this to Investigation in jira-azuredevops-migrator Sep 28, 2019
@MOlausson MOlausson moved this from Investigation to Under observation in jira-azuredevops-migrator Sep 28, 2019
@vishwanathk26071981
Copy link
Author

vishwanathk26071981 commented Sep 29, 2019 via email

@MOlausson
Copy link
Member

Hi @vishwanathk26071981, good to hear you made progress. What did you change to make it work?

As for the question regarding acceptance critera. In the config you provided there is no mapping for that field so it will not be included in the migration. Add it and it should work, also see #67 for a similar issue.

I'm closing this issue since the question regarding work item type has been addressed. If you have other questions, feel free to open a separate issue.

jira-azuredevops-migrator automation moved this from Under observation to Done Sep 29, 2019
@MOlausson MOlausson moved this from Done to Released in jira-azuredevops-migrator Nov 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
jira-azuredevops-migrator
  
Released/closed
Development

No branches or pull requests

2 participants