NAME

WebService::Bugzilla::Reminder - Bugzilla Reminder object and service

VERSION

version 0.001

SYNOPSIS

my $reminders = $bz->reminder->search;
for my $r (@{$reminders}) {
    say $r->note, ' (fires ', $r->reminder_ts, ')';
}

$bz->reminder->create(
    bug_id      => 12345,
    note        => 'Follow up on review',
    reminder_ts => '2025-07-01T09:00:00Z',
);

DESCRIPTION

Provides access to the Bugzilla reminder endpoints. Reminder objects represent reminders set on bugs and provide helpers to create, fetch, search, and remove reminders.

ATTRIBUTES

All attributes are read-only and lazy. Each is populated on first access by fetching the full reminder from the server.

bug_id

Numeric ID of the bug the reminder belongs to.

creation_ts

ISO 8601 datetime when the reminder was created.

note

Free-text note for the reminder.

reminder_ts

ISO 8601 datetime when the reminder should fire.

sent

Boolean. Whether the reminder notification has already been sent.

METHODS

create

my $r = $bz->reminder->create(%params);

Create a new reminder.

get

my $r = $bz->reminder->get($id);

Fetch a single reminder by its numeric ID.

Returns a WebService::Bugzilla::Reminder, or undef if not found.

remove

$reminder->remove;

Delete the current reminder.

my $reminders = $bz->reminder->search;

Fetch all reminders for the authenticated user.

Returns an arrayref of WebService::Bugzilla::Reminder objects.

SEE ALSO

WebService::Bugzilla - main client

WebService::Bugzilla::Bug - bug objects

AUTHOR

Dean Hamstead <dean@fragfest.com.au>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2026 by Dean Hamstead.

This is free software, licensed under:

The MIT (X11) License