Bug 707320

Summary: [FEAT] add ability to upload attachments
Product: [Fedora] Fedora Reporter: Andy Gospodarek <agospoda>
Component: python-bugzillaAssignee: Will Woods <wwoods>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: crobinso, jskarvad, peterm, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-28 02:43:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andy Gospodarek 2011-05-24 16:56:56 UTC
The ability to upload attachments from the command-line would be nice.  Ideally both indicating a filename to upload or piping (preferred!) to the command (a la fpaste) would be cool.

At a minimum, I would like to be able to specify a description and pass a file-name or read from STDIN.

The options for attachments (type, description, comments, obsoletes, privacy, etc) might be complex enough to warrant a new major command rather then adding things to modify, but I have no preference.

Comment 1 Cole Robinson 2012-12-28 02:43:28 UTC
This is in all supported fedora versions:

bugzilla attach --file ~/Pictures/cam1.jpg --desc "me, in pain" $BUGID