1BZ::Client::BugUserLastUVsiesritC(o3n)tributed Perl DocuBmZe:n:tCaltiieonnt::BugUserLastVisit(3)
2
3
4

NAME

6       BZ::Client::BugUserLastVisit - Find and Store the last time a user
7       visited a Bugzilla Bug.
8

VERSION

10       version 4.4004
11

SYNOPSIS

13       Find and Store the last time a user visited a Bug. in Bugzilla.
14
15        my $client = BZ::Client->new( url       => $url,
16                                      user      => $user,
17                                      password  => $password );
18
19        my @details = BZ::Client::BugUserLastVisit->update( $client, \%params );
20        my @details = BZ::Client::BugUserLastVisit->get( $client, \%params );
21

CLASS METHODS

23       This section lists the class methods, which are available in this
24       module.
25
26   update
27        @details = BZ::Client::BugUserLastVisit->update( $client, \%params );
28        $details = BZ::Client::BugUserLastVisit->update( $client, \%params );
29
30       Update the last visit time for the specified bug and current user.
31
32       History
33
34       Marked as experimental in Bugzill 5.0.
35
36       Parameters
37
38       ids ids (array) - One or more bug ids to add
39
40       Returns
41
42       An array of hashes containing the following;
43
44       id  id (int) The bug id.
45
46       last_visit_ts
47           last_visit_ts (string) The timestamp the user last visited the bug.
48
49   get
50        @details = BZ::Client::BugUserLastVisit->get( $client, \%params );
51        $details = BZ::Client::BugUserLastVisit->get( $client, \%params );
52
53       Get the last visited timestamp for one or more specified bug ids.
54
55       Parameters
56
57       ids ids (array) - One or more bug ids to add
58
59       Returns
60
61       An array of hashes containing the following;
62
63       id  id (int) The bug id.
64
65       last_visit_ts
66           last_visit_ts (string) The timestamp the user last visited the bug.
67

EXCEPTION HANDLING

69       See BZ::Client::Exception
70

SEE ALSO

72       BZ::Client, BZ::Client::API, Bugzilla API
73       <https://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/BugUserLastVisit.html>
74

AUTHORS

76       •   Dean Hamstead <dean@bytefoundry.com.au>
77
78       •   Jochen Wiedmann <jochen.wiedmann@gmail.com>
79
81       This software is copyright (c) 2021 by Dean Hamstad.
82
83       This is free software; you can redistribute it and/or modify it under
84       the same terms as the Perl 5 programming language system itself.
85
86
87
88perl v5.36.0                      2023-01-20   BZ::Client::BugUserLastVisit(3)
Impressum