Is there a way to clone an existing bug?
What I need to do it clone all bugs for a patch release to the development release.
For example I need to clone all bugs with release flag <prod>.2.z to a new bug and set the release flag to <prod>.3
Is this possible? I don't see a clone "Command"
Suggestions? Thoughts?
Thanks! Joe VLcek
On Wed 20 Nov 2013 09:26:44 PM CET, Joseph VLcek wrote:
Is there a way to clone an existing bug?
What I need to do it clone all bugs for a patch release to the development release.
For example I need to clone all bugs with release flag <prod>.2.z to a new bug and set the release flag to <prod>.3
Is this possible? I don't see a clone "Command"
Suggestions? Thoughts?
Thanks! Joe VLcek _______________________________________________ python-bugzilla mailing list python-bugzilla@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/python-bugzilla
We have a script that does that for us, to clone it you need to create a new bug and pass the cf_clone_of field, then fill up all the information (comments, flags...).
We are not using python-bugzilla though... just xmlrpc module. I can send you the code if you want, it's a little more complicated than you need as it has to check a lot of versions/flags/etc.
Cheers
-- David Caro
Red Hat S.L. Continuous Integration Engineer - EMEA ENG Virtualization R&D
Email: dcaro@redhat.com Web: www.redhat.com RHT Global #: 82-62605
On 11/20/2013 03:26 PM, Joseph VLcek wrote:
Is there a way to clone an existing bug?
What I need to do it clone all bugs for a patch release to the development release.
For example I need to clone all bugs with release flag <prod>.2.z to a new bug and set the release flag to <prod>.3
Is this possible? I don't see a clone "Command"
Suggestions? Thoughts?
There was some discussion about this recently:
https://bugzilla.redhat.com/show_bug.cgi?id=909480
Bugzilla dev's rejected exposing a 'clone' option in the xmlrpc API. I don't really want to maintain a script that's just duplicating web UI functionality in python-bugzilla. So yeah.
One of the users in that bug says he has a script to simulate clone. But you might be able to find some way to automatically perform a clone by formatting a bugzilla http URL. Play with partner-bugzillla.redhat.com and see what URLs it generates when you click on the 'clone bug' option.
- Cole
python-bugzilla@lists.stg.fedorahosted.org