Content
View differences
Updated by Andrej Sandorf 3 days ago
Steps are necessary ~~Right now, if a work package is created by the Jira importer, the created date of the work package is set to avoid
* <mention class="mention" data-id="78058" data-type="work_package" data-text="##JIM-152" data-display-id="JIM-152">##JIM-152</mention>
* <mention class="mention" data-id="79711" data-type="work_package" data-text="##JIM-213" data-display-id="JIM-213">##JIM-213</mention>
* Missing creation the timestamp of the migration. The original value of the "creation date“ in Jira is lost. According to~~ ~~@Andrej Sandorf~~ ~~this was done on purpose, but we cannot recall the exact reason and update timestamps for imported issues
To fix: would like to reconsider this choice.~~
~~@Wieland Lindenthal~~ ~~@Pavel Balashou~~ ~~Can you shed light on the previous decision?~~
* set **work\_package.update\_at** to **updated** from Jira
* set **work\_package.created\_at** to **created** from Jira
* add a journal entry with migrated datetime
* suppress journal entries created by a later stage for attachment migration
* set the date of all migrated attachments to the created datetime from Jira
* ensure work package creation datetime and all journal entries datetime to be
* ordered chronologically
* unique ordered chronologically and uniquely (journal requirement) by adding microseconds if they
These steps are equal (not visible in UI)
<br> all necessary to avoid
<mention class="mention" data-id="78058" data-type="work_package" data-text="##JIM-152" data-display-id="JIM-152">##JIM-152</mention>
<mention class="mention" data-id="79711" data-type="work_package" data-text="##JIM-213" data-display-id="JIM-213">##JIM-213</mention>
* <mention class="mention" data-id="78058" data-type="work_package" data-text="##JIM-152" data-display-id="JIM-152">##JIM-152</mention>
* <mention class="mention" data-id="79711" data-type="work_package" data-text="##JIM-213" data-display-id="JIM-213">##JIM-213</mention>
* Missing creation
To fix:
* set **work\_package.created\_at** to **created** from Jira
* add a journal entry with migrated datetime
* suppress journal entries created by a later stage for attachment migration
* set the date of all migrated attachments to the created datetime from Jira
* ensure work package creation datetime and all journal entries datetime to be
* ordered chronologically
* unique
These steps
<br>
<mention class="mention" data-id="78058" data-type="work_package" data-text="##JIM-152" data-display-id="JIM-152">##JIM-152</mention>
<mention class="mention" data-id="79711" data-type="work_package" data-text="##JIM-213" data-display-id="JIM-213">##JIM-213</mention>