Skip to content

Commit 72126a3

Browse files
Merge branch 'feature/vs402625-bump-changeddate' of https://github.com/solidify/jira-azuredevops-migrator into feature/vs402625-bump-changeddate
2 parents 8a62f8d + 9a92a13 commit 72126a3

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The migration configuration file is defined in a json file with the properties d
3838
|**suppress-notifications**|False|boolean|Set to True to suppress all notifications in Azure DevOps about created and updated Work Items. Default = False.|
3939
|**include-development-links**|False|boolean|Set to True to migrated commit links from Jira to Azure DevOps. You will also need to fill out the **repository-map** property. Default = False.|
4040
|**sleep-time-between-revision-import-milliseconds**|False|integer|How many milliseconds to sleep between each revision import. Use this if throttling is an issue for ADO Services. Default = 0 (no sleep).|
41-
|**buffer-revisions-succeeding-attachment-imports-milliseconds**|False|integer|How many milliseconds to buffer each subsequent revision if there is a negative revision timestamp offset. Increase this if you get problems with VS402625 error messages. Default = 5 (ms).|
41+
|**changeddate-bump-ms**|False|integer|How many milliseconds to buffer each subsequent revision if there is a negative revision timestamp offset. Increase this if you get a lot of VS402625 warning messages during the import. Default = 2 (ms).|
4242
|**process-template**|False|string|Process template in the target DevOps project. Supported values: Scrum, Agile or CMMI. Default = "Scrum".|
4343
|**link-map**|True|json|List of **links** to map between Jira and Azure DevOps/TFS work item link types.|
4444
|**type-map**|True|json|List of the work item **types** you want to migrate from Jira to Azure DevOps/TFS.|

docs/faq.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -430,28 +430,28 @@ curl -D-
430430
"http://johnie:8081/rest/api/2/search"
431431
```
432432

433-
## 19. I get the error message "VS402625: Dates must be increasing with each revision."
433+
## 19. I get the warning message "VS402625: Dates must be increasing with each revision."
434434

435-
This error message will show up if the tool attempts to import a subsequent revision with a changedDate that is less than the current changedDate of the current state of the Work Item.
435+
This warning message will show up if the tool attempts to import a subsequent revision with a changedDate that is less than the current changedDate of the current state of the Work Item.
436436

437437
This can have multiple causes:
438438

439439
- Two consecutive revisions have the same date stamp, or the difference is 1ms or less (i.e. the issue is in the Jira issue data itself).
440440
- ADO can sometimes add a few milliseconds to the work item changedDate when adding an attachment.
441+
- A link change in Jira has created a situation where the Link Import happens earlier in time than the timestamp of one of the revisions in the associated issues.
441442

442443
You may end up receiving an error message similar to this one:
443444

444445
```txt
445-
[E][18:32:06] VS402625: Dates must be increasing with each revision.
446-
[E][18:32:06] Work Item 15312 failed to save.
446+
[W][11:15:29] Received response while updating Work Item: VS402625: Dates must be increasing with each revision.. Bumped Changed Date by 2ms and trying again... New ChangedDate: 3/31/2016 3:21:38 PM, ms: 172
447447
```
448448

449-
The solution is to buffer the subsequent revision's changedDate by a few miliseconds. This is the purpose of the configuration parameter `buffer-revisions-succeeding-attachment-imports-milliseconds` (default: 5). Add this parameter to your `config.json` file and try increasing the value by 1 (5, 6, 7, and so on...) until the import succeeds without errors.
449+
The tool is attempting to buffer the subsequent revision's changedDate by a few miliseconds in order to get around the error response from the ADO Rest API. The exact number of miliseconds to buffer can be controlled with the config parameter `changeddate-bump-ms` (default: 2). If you experience a lot of this warning message and believe that your import is slowing down because of it, go ahead and add this parameter to your `config.json` file and try increasing the value by 1 (3, 4, 5, and so on...) until the import succeeds without too many warnings.
450450

451451
Example `config.json`:
452452

453453
```json
454-
"buffer-revisions-succeeding-attachment-imports-milliseconds": 6,
454+
"changeddate-bump-ms": 5,
455455
```
456456

457457
## 20. Sprint names are corrupted. ADO Iteration paths are named "[ synced = false ]"

0 commit comments

Comments
 (0)