GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
BZ::Client::Bug(3) User Contributed Perl Documentation BZ::Client::Bug(3)

  BZ::Client::Bug - Client side representation of a bug in Bugzilla

This class provides methods for accessing and managing bugs in Bugzilla.

  my $client = BZ::Client->new("url" => $url,
                               "user" => $user,
                               "password" => $password);
  my $bugs = BZ::Client::Bug->get($client, $ids);

This section lists the class methods, which are available in this module.

  my $bugs = BZ::Client::Bug->get($client, $ids);

Returns a list of bug instances with the given ID's.

  my $bug = BZ::Client::Bug->new("id" => $id);

Creates a new instance with the given ID.

  my $id = BZ::Client::Bug->create($client, $params);

Creates a new bug and returns the bug ID.

  my $bugs = BZ::Client::Bug->search($client, $params);

Searches for bugs matching the given parameters.

This section lists the modules instance methods.

  my $id = $bug->id();
  $bug->id($id);

Gets or sets the bugs ID.

  my $alias = $bug->alias();
  $bug->alias($alias);

Gets or sets the bugs alias. If there is no alias or aliases are disabled in Bugzilla, this will be an empty string.

  my $assigned_to = $bug->assigned_to();
  $bug->assigned_to($assigned_to);

Gets or sets the login name of the user to whom the bug is assigned.

  my $component = $bug->component();
  $bug->component($component);

Gets or sets the name of the current component of this bug.

  my $dateTime = $bug->creation_time();
  $bug->creation_time($dateTime);

Gets or sets the date and time, when the bug was created.

  my $dupeOf = $bug->dupe_of();
  $bug->dupe_of($dupeOf);

Gets or sets the bug ID of the bug that this bug is a duplicate of. If this bug isn't a duplicate of any bug, this will be an empty int.

  my $isOpen = $bug->is_open();
  $bug->is_open($isOpen);

Gets or sets, whether this bug is closed. The return value, or parameter value is true (1) if this bug is open, false (0) if it is closed.

  my $lastChangeTime = $bug->last_change_time();
  $bug->last_change_time($lastChangeTime);

Gets or sets the date and time, when the bug was last changed.

  my $priority = $bug->priority();
  $bug->priority($priority);

Gets or sets the priority of the bug.

  my $product = $bug->product();
  $bug->product($product);

Gets or sets the name of the product this bug is in.

  my $resolution = $bug->resolution();
  $bug->resolution($resolution);

Gets or sets the current resolution of the bug, or an empty string if the bug is open.

  my $severity = $bug->severity();
  $bug->severity($severity);

Gets or sets the current severity of the bug.

  my $status = $bug->status();
  $bug->status($status);

Gets or sets the current status of the bug.

  my $summary = $bug->summary();
  $bug->summary($summary);

Gets or sets the summary of this bug.

  L<BZ::Client>, L<BZ::Client::API>
2010-02-03 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.