Migrate 'Blocks' fields to Redmine for all Bugzilla RFEs and bugs already moved into Redmine
Tasks #90 and #91 involve migration the RFEs and bugs from Bugzilla to Redmine. Those issues migrate all data except the 'blocked' field. These needs to be handled at the very end only after all RFEs and Bugs are moved because. Otherwise a bug/RFE being referenced may not have a Redmine ID yet and it could get complicated. This task is to port over and update the 'blocks' field info from Bugzilla for bugs copied into Redmine from Bugzilla.
Using plain-old Bugzilla searching, search for bugs CLOSED with status 'MOVED_TO_REDMINE'. Find the set of those which depend on external Bugzilla IDs. For each number in the 'blocks' field, attempt to convert it to a Redmine number be resolving using the external tracker URL field on the bugzilla blocking bug. That should yield the Redmine ID. If a Redmine ID is resolved, update the Redmine equivalent of the original bug containing the 'blocks' field to reference the resolved Redmine ID.
In some cases, the 'blocks' may not resolve to a Redmine issue. This occurs if a Pulp bug is blocked by a non-Pulp component Bugzilla bug. In those cases, the Redmine bug should have a note added, and/or a clear indication on the Redmine bug somehow.
Please register to edit this issue