Class | Bugzilla::Bug |
In: |
lib/bugzilla/bug.rb
|
Parent: | APITemplate |
Bugzilla::Bug class is to access the Bugzilla::WebService::Bug API that allows you to file a new bug in Bugzilla or get information about bugs that have already been filed.
FIELDS_SUMMARY | = | ["id", "product", "component", "status", "severity", "summary"] |
FIELDS_DETAILS | = | FIELDS_SUMMARY + ["assigned_to", "internals", "priority", "resolution"] |
FIELDS_ALL | = | ["alias", "assigned_to", "blocks", "cc", "classification", "component", "creation_time", "creator", "deadline", "depends_on", "dupe_of", "estimated_time", "groups", "id", "is_cc_accessible", "is_confirmed", "is_open", "is_creator_accessible", "keywords", "last_change_time", "op_sys", "platform", "priority", "product", "qa_contact", "remaining_time", "resolution", "see_also", "severity", "status", "summary", "target_milestone", "update_token", "url", "version", "whiteboard", "external_bugs", "internals"] |
Get the bugs information from Bugzilla. either of String or Numeric or Array would be acceptable for bugs. you can specify the fields you want to look up with fields.
FWIW this name conflicts to Bugzilla API but this isn‘s a primitive method since get_bugs method in WebService API is actually deprecated.
Raw Bugzilla API to create a new bug in Bugzilla.
See www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Bug.html