Clean Sync Info Panel after moving issues between projects
When moving an issue that is synced by backbone to another project, the sync info panel will show the information of the old synchronization. To ensure that this shows the correct information, there are certain steps to be taken, based on whether you haven’t moved the issue yet, or you have already moved it.
Issue not yet moved
Assumption: You have an existing sync between project A and project B. The issues that are currently under sync are A-1 ↔︎ B-1
. Now you want to move the issue B-1
to a new project C.
Stop the existing sync between Project A and Project B.
Unlink the issue
A-1
with the paired issueB-1
first by selecting to delete the database information.Move the issue
B-1
to the new project C. After moving the new issue key isC-1
.Create a new sync between Project B and Project C if its not already created.
Pair existing issues between project B and C (you can only pair the issues that are moved to new project e.g.
B-1 ↔︎ C-1
). You can use automatic pairing if the summary is same for both paired issues or CSV pairing.Start the new backbone sync.
Issue already moved
If you have already moved the issue without unlinking the old issues, backbone will always show outdated information in the sync info panel. To fix that, cURL commands have to be manually executed by following the steps below:
Prepare the list of issue keys for which sync panel needs to be deleted.
Replace the variables like
<issue-key>
,<base-url>
, and authorization details<sync-user>:<sync-password>
in the cURL command next step.After replacing, run the command:
curl --request DELETE '<base-url>/rest/api/2/issue/<issue-key>/properties/k15t.backbone.syncinfo' -u <sync-user>:<sync-password>
Finally once issue properties for all the issues are removed by running the cURL commands, Trigger a resync to create new sync panels.