bugtrackers cannot be merged

Bug #318380 reported by Graham Binns
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

It's possible for two BugTracker records to be created for one actual remote bug tracker, thus:

1) Bob adds a bug tracker for bugs.example.com
2) Selma adds a comment to a bug in which she links to a bug on bugzilla.example.com. bugzilla.example.com is an alias for bugs.example.com, so the two bug tracker point to the same place.

This can lead to conflicts when syncing comments (let's assume that bugs.example.com has the Launchpad plugin installed) and could lead to us pulling the same comment down twice (though this should be caught by our duplicate-prevention code).

Admins should be able to merge two bug trackers together. This could work something like this:

1. On each bugtracker page, e.g. https://edge.launchpad.net/bugs/bugtrackers/gnome-bugs, there would be an option to "Merge this bug tracker with another."
2. Once you clicked on this link, Launchpad would ask you for the name or (remote) URL of the bugtracker into which you want to merge this one.
3. Once you've entered a URL Launchpad will:
 i) Move all BugWatches across to the target BugTracker
ii) Add the original bug tracker (i.e. the one on whose page you clicked "merge") as an alias on the target BugTracker
iii) Delete the old BugTracker.

Graham Binns (gmb)
Changed in malone:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Robert Collins (lifeless) wrote :

(Not escalating as I'm not aware of this having affected us.

summary: - It should be possible for an admin to merge two bugtrackers
+ bugtrackers cannot be merged
tags: added: canonical-losa-lp
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.