NAME

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

VERSION

version 4.4002

SYNOPSIS

Find and Store the last time a user visited a Bug. in Bugzilla.

 my $client = BZ::Client->new( url       => $url,
                               user      => $user,
                               password  => $password );

 my @details = BZ::Client::BugUserLastVisit->update( $client, \%params );
 my @details = BZ::Client::BugUserLastVisit->get( $client, \%params );

CLASS METHODS

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

update

 @details = BZ::Client::BugUserLastVisit->update( $client, \%params );
 $details = BZ::Client::BugUserLastVisit->update( $client, \%params );

Update the last visit time for the specified bug and current user.

History

Marked as experimental in Bugzill 5.0.

Parameters

ids

ids (array) - One or more bug ids to add

Returns

An array of hashes containing the following;

id

id (int) The bug id.

last_visit_ts

last_visit_ts (string) The timestamp the user last visited the bug.

get

 @details = BZ::Client::BugUserLastVisit->get( $client, \%params );
 $details = BZ::Client::BugUserLastVisit->get( $client, \%params );

Get the last visited timestamp for one or more specified bug ids.

Parameters

ids

ids (array) - One or more bug ids to add

Returns

An array of hashes containing the following;

id

id (int) The bug id.

last_visit_ts

last_visit_ts (string) The timestamp the user last visited the bug.

EXCEPTION HANDLING

See BZ::Client::Exception

SEE ALSO

BZ::Client, BZ::Client::API, Bugzilla API

AUTHORS

  • Dean Hamstead <dean@bytefoundry.com.au>

  • Jochen Wiedmann <jochen.wiedmann@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Dean Hamstad.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.