Task #90

Updated by bmbouter over 5 years ago

Currently has many feature requests in it. These feature requests (RFEs) need to be copied from Bugzilla and into Redmine.

This task involves migrating data between the systems using the Bugzilla and Redmine APIs in an automated way. Keep any code written in playpen of pulp/pulp so that it can be maintained over time. I recommend using one of the Redmine API bindings for Python that can be found on PyPI. Also looking for a bugzilla binding like bugzilla tools may be useful too. Finally, other projects do similar things with [0], so maybe borrow some from their code.

When moving a RFE, you'll have to do the following:
1) Move the following fields: description, priority, severity, status, reporter, assignee, QA-contact, version, and target release.
2) It would be good if the entire history of the bug/RFE were added into the notes or appended to the description in Redmine.
3) Put the new Redmine bug into the right Redmine "Project" [1]. [0]. What was a 'Component' in Bugzilla is equivalent to the different "projects" in Redmine.
4) Move any attachments also
5) Add a link on the redmine issue that links back to the original Bugzilla location
6) Mark the Redmine issue as a 'Story'

Note: you do NOT need to worry about 'blocks' field, those will be handled in a separate task #92.

Once a RFE is copied into Redmine, the Bugzilla RFE should be CLOSED with a yet-to-be-created-in-bugzilla status of 'MOVED_TO_REDMINE'. Ideally, a custom field would be added to the Pulp Bugzilla that would allow the Redmine issue to be tracked when the Bugzilla RFE is closed. If that is not possible, then a comment can be added with the URL to the new location in Redmine.

Bugzilla RFEs contain the string 'rfe' in them or the keyword 'FutureFeature'. I have created a Bugzilla search[2] search[1] which should bugs which match either of these. There are ~125 bugs listed.