New issue
Advanced search Search tips
Starred by 4 users

Issue metadata

Status: Released
Closed: Sep 14

Sign in to add a comment

Issue 9711: Add a ChangeDeletedListener to Gerrit. and hooks plugin

Reported by, Sep 12

Issue description

Gerrit (and by extension, the hooks core plugin) supports a ChangeAbandonedListener and ChangeRestoredListener.
These were added in

However, there's no ChangeDeletedListener. Note that the ability to Delete Changes was added in 2.14.

Gerrit should support a ChangeDeletedListener, analogous to ChangeAbandonedListener and ChangeRestoredListener.

Ideally, it should make available, to an onChangeDeleted implementation, all the details of the original change (I am specifically interested in knowing the topic of the deleted change). A ChangeInfo would be the natural way to do this, but I'm not sure whether that is possible, since at the time the listener fires, the change itself is already deleted.

Comment 1 by, Sep 12

Status: Accepted (was: New)
I've uploaded a WIP change to implement the event:

Comment 3 by, Sep 14

Status: Started (was: Accepted)

Comment 5 by, Sep 14

Labels: FixedIn-2.14.13
Status: Submitted (was: ChangeUnderReview)

Comment 6 by, Sep 21

Status: Released (was: Submitted)

Comment 7 by, Sep 26

Labels: FixedIn-2.15.4

Sign in to add a comment