BZ::Cl...tVisit(3pm)

πŸ“¦
version 4.9100 Β· 4 versions
, in epel 10

πŸ’… BZ::Client::BugUserLastVisit β€” the vibe is "when did you last peek at this bug"

Okay bestie, so this is a page from the User Contributed Perl Documentation for BZ::Client::BugUserLastVisit. That's a mouthful, so nobody's gonna be mad if the header shortens it to BZ::Cl...tVisit(3pm). It's a Perl module and it's here to help you find β€” and store β€” the last time a user visited a Bugzilla bug. Obsessed, honestly.


🌸 NAME

BZ::Client::BugUserLastVisit β€” find and store the last time a user visited a Bugzilla Bug.


✨ VERSION

version 4.91


πŸ¦‹ SYNOPSIS

Find and Store the last time a user visited a Bug. in Bugzilla. That's the whole mission statement, and it ate.

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 );

Not me making the same object twice, it's giving "we get it, you have a client" πŸ’€ β€” anyway, that's verbatim from the docs, keep it exactly like that.


πŸŽ€ CLASS METHODS

This section lists the class methods, which are available in this module. Two of them. Both iconic. Let's go πŸ’…

πŸ“ 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. Yeah. It literally stamps the moment. Main character behaviour.

History

Marked as experimental in Bugzilla 5.0. So lowkey, tread gently β€” it's experimental, fr fr, don't build your whole personality on it.

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. Basically the read-only twin of update β€” same energy, no writing.

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 β€” that's where the drama lives when things go sideways. 🫢


🌈 SEE ALSO


πŸ‘‘ AUTHORS

  • Dean Hamstead <dean@bytefoundry.com.au>
  • Jochen Wiedmann <jochen.wiedmann@gmail.com>

Two legends. We stan. ⭐


This software is copyright (c) 2026 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. Free software bestie, no cap πŸ”₯


Okay so quick recap before you close the tab: update writes the last-visit time and is marked experimental as of Bugzilla 5.0; get fetches it; both take ids as an array and hand you back hashes with id and last_visit_ts. Errors go hang out with BZ::Client::Exception. That's the whole tea β˜•βœ¨

Sign-off szn πŸŽ€ β€” this page comes from perl v5.40.2, dated 2026-07-16, and it's filed under BZ::Cl...tVisit(3pm). Slay, go call some APIs, mwah πŸ’œ

πŸ“¦ where this page comes from