Content
View differences
Updated by Wieland Lindenthal 3 months ago
**As** an administrator who wants to switch from regular numeric identifiers to project-based semantic to semantic identifiers
**I want to** have a job running in the background job which does the migration for me. me
**Acceptance criteria**
* There are is a background jobs job for
* applying changes to project identifiers and
* generating project-based project based semantic work package IDs for all existing work packages
* When the job is aborted before it is finished and starts again, it can "pick up where it ended"
* At the successful end of the job the setting for semantic IDs is set
* When the user switches the setting for project-based semantic work package IDs on on and after a while off and after another while on again, the "old" semantic IDs should be "reused"
**Technical notes**
* Maybe this could be 2 jobs running after each other - one for setting the new project identifiers and one for setting the new project-based work package semantic ids?
* We need a separate table to connect project based sequence numbers with actual work packages (columns `project_id`, `sequence_number`, `work_package_id`)
* with uniqueness constraint
* We need a separate component which calculates the next available sequence number and tries to insert it - this can then be used in the migration job and on create or move of a work package
* It would be good to get at least the groundwork of new tables quite soon so the Jira migration team can start using them as well
**Out of scope**
* <br>
_Set the_ **To be informed/consulted teams** _field to include all teams necessary to be informed of the changes._
**I want to** have a
**Acceptance criteria**
* There are
* applying changes to project identifiers and
* generating project-based
* When the job is aborted before it is finished and starts again, it can "pick up where it ended"
* At the successful end of the job the setting for semantic IDs is set
* When the user switches the setting for project-based semantic work package IDs on
**Technical notes**
* Maybe this could be 2 jobs running after each other - one for setting the new project identifiers and one for setting the new project-based work package semantic ids?
* We need a separate table to connect project based sequence numbers with actual work packages (columns `project_id`, `sequence_number`, `work_package_id`)
* with uniqueness constraint
* We need a separate component which calculates the next available sequence number and tries to insert it - this can then be used in the migration job and on create or move of a work package
* It would be good to get at least the groundwork of new tables quite soon so the Jira migration team can start using them as well
**Out of scope**
* <br>
_Set the_ **To be informed/consulted teams** _field to include all teams necessary to be informed of the changes._