top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Bugzilla: Upload and Download bug's attachment by perl script

+2 votes
466 views

Is there any Bugzilla API to upload and download bug's attachment files with perl script?
I want to write a Perl script to download all the attachment in a specified bug, and save the files to local directory.
Attachment method in Bugzilla::Webservice::Bug seems not to download or upload attachment from or to bug.

posted Oct 30, 2014 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Why do you think that? It's thoroughly documented, so if it doesn't work for you, you should provide more details about what doesn't work.

http://www.bugzilla.org/docs/4.4/en/html/api/Bugzilla/WebService/Bug.html#attachments
http://www.bugzilla.org/docs/4.4/en/html/api/Bugzilla/WebService/Bug.html#add_attachment

answer Oct 30, 2014 by Daler
Similar Questions
+2 votes

I have installed Bugzilla localhost successfully. But now I facing a problem.I can create new bug. But when I attach an image by clicking "Choose File" button and submit bug I got an error message like "You did not specify a file to attach."

Please help me on which file should I edit?

+1 vote

I am trying to modify our current Bugzilla tool to allow multiple bug entries at once. I would also like to be able to add one bug which will trigger the creation of other pre-set bugs.

Can anyone assist me with this?

+3 votes

I am using bugzilla version 4.4.2 and I need some additional fields in when I try to Change Several Bugs at Once.

At the moment i need the fields "Tags" and "Deadline " when I try to Change Several Bugs at Once. But the fields are not available.

+3 votes

Can someone explain how to configure "Enable tags for bugs" in 4.5.6 version of Bugzilla.

...