-
Bug
-
Resolution: Tracked Elsewhere
-
High
-
None
-
JCMA - 1.11.5
-
None
-
23
-
Severity 3 - Minor
-
79
Hi everyone,
This is Aayushi from the JCMA team. We would like to thank you for all the comments and feedback on the bug you've been experiencing with JCMA re-opening closed sprints.
This bug and the various ways it occurs (as mentioned in the Description of this bug) is due to Config Drift. JCMA tracks and maintains a record of the entities you have migrated (e.g workflow, custom field etc.), this functionality enables it to reduce the incidence that duplicate entities are created by linking data from entities that have previously been migrated. You can learn more about how JCMA links your data here & here
In this scenario with the sprint entity if there is a difference (drift) in the status of the Sprint we have taken the Server/Data Center status as the source of truth which results in the JCMA behaviour you're experiencing.
After careful consideration of all the scenarios and uses cases we determined the best approach to solve this bug would be to develop a feature that would enable you to choose the source of truth whenever a Config Drift scenario is detected.
While this may not be the outcome you were expecting, changing the source of truth to Cloud may also result in another bug for use cases where the Sever/Data Center status would be considered the source of truth some customers.
You can monitor progress of this feature via MIG-2100 we have carried over all your comments and votes there as well.
Please share any additional information about your particular use case that you think would help us prioritise building this feature.
Kind regards,
Cloud Transitions Team
Issue Summary
When migrating Projects from Server to Cloud, the migration assistant can reopen past completed Sprints in some scenarios. Some well-known scenarios are:
- Sprint name already exists in destination Cloud site (expected as per
MIG-1339) - Sprint was previously migrated under a different name after Project data changed
- Sprint contains cross-project issues
- Shared Sprints found in other Boards
- In phased migrations, if migrator selects on every plan to migrate "All dashboards", if a gadget/ dashboard references a sprint, although the sprint belongs to a single project board, will be exported in cross project data and the server data will take prevalence over already existing cloud data;
This is reproducible on Data Center: (yes)
Steps to Reproduce
These steps only account for 1 particular scenario that is very consistent (cross-project issues):
- On Server site, create Project A with Sprint 1 and Issues
- Perform a Server to Cloud migration using JCMA including Project A
- On Cloud site, complete Sprint 1
- On Server site, create Project B with Issues. Assign an Issue to Sprint 1
- Perform a Server to Cloud migration using JCMA including only Project B
Expected Results
Considering Project A was not in the scope of the migration, this should have no impact, OR a new Sprint 1 should be created in Project B.
Actual Results
Sprint 1 from Project A is reopened. This is also still applicable if the Sprint was renamed in the Server site where it will update the Sprint name in the Cloud site.
Workaround
If migrating in phases with the option to migrate "All dashboards" in each phase, prior to the migration, contact Atlassian Migration Support with the result of the below query:
SELECT pp.ID AS DashboardID, pp.PAGENAME AS DashboardName, pc.ID AS GadgetID, pc.GADGET_XML AS GadgetKey, gup_sprint.USERPREFVALUE AS SprintID, aosp."NAME" AS SprintName, aosp."START_DATE" AS SprintStartDate, aosp."COMPLETE_DATE" AS SprintCompleteDate, aosp."END_DATE" AS SprintEndDate, aosp."CLOSED" AS SprintClosed, aosp."STARTED" AS SprintStarted, aosp."RAPID_VIEW_ID" AS RapidViewID FROM PORTALPAGE pp JOIN PORTLETCONFIGURATION pc ON pp.ID = pc.PORTALPAGE JOIN GADGETUSERPREFERENCE gup_sprint ON pc.ID = gup_sprint.PORTLETCONFIGURATION AND gup_sprint.USERPREFKEY = 'sprintId' JOIN "AO_60DB71_SPRINT" aosp ON gup_sprint.USERPREFVALUE = aosp."ID"::text;
Atlassian support will be able to map the above result with the existing cloud data and will provide you the differences for the potentially impacted sprints. Having this information, migrator can take educated decision on whether to proceed in using the migrate "All dashboard" option with impact or not migrating dashboards (as long as all dashboards were migrated in the first migration phase). More than this, the information provided can be leveraged to modify the on premise sprints via REST/ API or database ( by setting to the on prem sprints the values existing on cloud).
- is related to
-
MIG-1339 When migrating a Sprint from server to cloud with a name that already exists in the cloud, JCMA updates that existing Sprint instead of creating a new Sprint
- Closed
-
MIG-621 Add a note about Config drift on JCMA knowledge article to avoid project configuration change
- Gathering Interest
-
MIG-1297 Duplicated Migration Roles in phased migrations
- Gathering Interest
-
MIG-958 JCMA is creating duplicate permission schemes
- Under Consideration
- is resolved by
-
MIG-2100 Provide a way to chose between server and cloud data for sprint across multiple migrations (Config Drift)
- Gathering Interest
- has action
-
SETM-367 Loading...
- links to
- relates to
-
MOVE-1762025 Loading...