[python-bugzilla] How to clone a bug?
Cole Robinson
crobinso at redhat.com
Wed Nov 20 21:24:47 UTC 2013
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
More information about the python-bugzilla
mailing list