Class Bugzilla::Bug
In: lib/bugzilla/bug.rb
Parent: APITemplate

Bugzilla::Bug

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.

Methods

Constants

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"]

Public Instance methods

Bugzilla::Bug#get_bugs(bugs, fields = Bugzilla::Bug::FIELDS_SUMMARY)

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.

Protected Instance methods

[Validate]