Hi Cole,
+++ Cole Robinson [12/12/18 11:38 -0500]:
On 11/19/2018 06:04 AM, Deepshikha Khandelwal wrote:
>Hi,
>
>I'm looking at python-bugzilla way of cloning the bug.
>
>Can anyone help me out with this?
>
There's no bugzilla API for bug cloning, it's entirely a web UI thing,
so there's not a simple way to do it.
Jakub had patches in the past for this and I know he rebased them
recently. Jakub would you mind attaching them here?
Yes, please see the attachment. It's a patch for
/usr/lib/python2.7/site-packages/bugzilla/base.py
Please keep in mind that some fields are commented-out (not cloned),
because doing that creates too much noise on other products.
My opinion on making this part of the python-bugzilla API hasn't
changed but maybe we can stuff this in a contrib/ script in the git
repo. Maybe in time it can turn into a /usr/bin/bugzilla command but
I'd like to see
how it goes as an add on script first. So Jakub if you're motivated
that could be a way forward with this
I'm not sure. As I mentioned, cloning every information in the BZ
creates blockers and upsets managers.
We'd probably need a silent/loud cloning at least.
Let me think about it.
Thanks,
Cole
Best regards,
--
Jakub Racek
ARK