1WWW::Bugzilla::Search(3U)ser Contributed Perl DocumentatiWoWnW::Bugzilla::Search(3)
2
3
4

NAME

6       WWW::Bugzilla::Search - Handles searching bugzilla bugs via
7       WWW::Mechanize.
8

SYNOPSIS

10           use WWW::Bugzilla::Search;
11
12           # Login
13           my $search = WWW::Bugzilla::Search->new(
14               server => 'bugs.example.com',
15               email => 'user@example.com',
16               password => 'my_passwd',
17           );
18
19           $search->summary('This is my summary');
20           my @bugs = $search->search();
21

DESCRIPTION

23       WWW::Bugzilla::Search provides an API to search for bugs in a Bugzilla
24       database.  Any resulting bugs will be returned as instances of
25       WWW::Bugzilla bugs.
26

INTERFACE

28   Multiple choice search criteria
29       The following fields are multiple choice fields:
30
31       classification, component, op_sys, priority, product, resolution,
32       bug_severity, bug_status, target_milestone, version, hardware,
33       rep_platform
34
35       Available options can be retrieved via:
36
37           $search->field();
38
39       To choose a given value, use:
40
41           $search->field('value');
42
43   Text search criteria
44       The following fields are avaiilable for text searching:
45
46       assigned_to, reporter, summary
47
48       To searc using a given field, use:
49
50           $search->field('value');
51
52   Methods
53       search()
54
55       Searches Bugzilla with the defined criteria.  Returns a list of bugs
56       that match the criteria.  Each bug is a seperate instance of
57       WWW::Bugzilla
58
59       reset()
60
61       Resets all search criteria.
62

BUGS, IMPROVEMENTS

64       There may well be bugs in this module.  Using it as I have, I just have
65       not run into any.  In addition, this module does not support ALL of
66       Bugzilla's features.  I will consider any patches or improvements, just
67       send me an email at the address listed below.
68

AUTHOR

70       Written by:
71           Brian Caswell (bmc@shmoo.com)
72
73       Portions taken from WWW::Bugzilla, originally written by:
74           Matthew C. Vella (the_mcv@yahoo.com)
75

LICENSE

77         WWW::Bugzilla::Search - Module providing API to search Bugzilla bugs.
78         Copyright (C) 2006 Brian Caswell (bmc@shmoo.com)
79
80         Portions Copyright (C) 2003 Matthew C. Vella (the_mcv@yahoo.com)
81
82         This module is free software; you can redistribute it and/or modify it
83         under the terms of either:
84
85         a) the GNU General Public License as published by the Free Software
86         Foundation; either version 1, or (at your option) any later version,
87         or
88
89         b) the "Artistic License" which comes with this module.
90
91         This program is distributed in the hope that it will be useful,
92         but WITHOUT ANY WARRANTY; without even the implied warranty of
93         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See either
94         the GNU General Public License or the Artistic License for more details.
95
96         You should have received a copy of the Artistic License with this
97         module, in the file ARTISTIC.  If not, I'll be glad to provide one.
98
99         You should have received a copy of the GNU General Public License
100         along with this program; if not, write to the Free Software
101         Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
102         USA
103
104
105
106perl v5.34.0                      2022-01-21          WWW::Bugzilla::Search(3)
Impressum