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

Option to exclude revisions to work items where nothing changes #852

Closed
nickn00 opened this issue Sep 6, 2023 · 4 comments · Fixed by #876
Closed

Option to exclude revisions to work items where nothing changes #852

nickn00 opened this issue Sep 6, 2023 · 4 comments · Fixed by #876
Assignees
Labels
enhancement New feature or request

Comments

@nickn00
Copy link

nickn00 commented Sep 6, 2023

Is your feature request related to a problem? Please describe.
There are a large number of transactions with ADO to add "revisions" to a work item where nothing changes. This slows down the import into ADO and triggers a resource consumption limit on the ADO server.

Describe the solution you'd like
Don't import revisions where no change occurs

Describe alternatives you've considered
A script to parse the json files and remove superfluous revisions

@Alexander-Hjelm Alexander-Hjelm added the enhancement New feature or request label Sep 7, 2023
@nickn00
Copy link
Author

nickn00 commented Oct 3, 2023

I've done some more checking and found that the revisions where nothing changes are due to incorrect field mapping on my side, but it would be useful to have the option to exclude certain changes, such as changes to time spent, time remaining, etc.

These changes cause thousands of extra updates during the import in my case, which slows the import down and could be excluded, if others have the same problem?

@Alexander-Hjelm Alexander-Hjelm self-assigned this Oct 4, 2023
@Alexander-Hjelm
Copy link
Collaborator

Agreed. I will work on implementing this feature soonish. At the moment there are more pressing bugs that need my attention though :)

If you want to have a crack at it yourself, you should edit here and add a check that verifies that the revision actually contains some fields, links or attachments: https://github.com/solidify/jira-azuredevops-migrator/blob/c8127881271424b428ff2d13547ebbe91bb6dea7/src/WorkItemMigrator/WorkItemImport/ExecutionPlanBuilder.cs#L40C38-L40C38

@Alexander-Hjelm
Copy link
Collaborator

@nickn00 See PR #876. Please give it a review if you are able!

@Alexander-Hjelm
Copy link
Collaborator

Merged #876 . Open a new issue if there are any problems with the new feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants