Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

RepositoryDeletedEvent event is not listening for onRepositoryDeletedEvent

Singa Selva Sankar December 7, 2023

I have a plugin to do some activity on the following events.

  1. Repository Creation
  2. Branch Creation
  3. Branch Deletion
  4. Repository Deletion

For Repository Creation, I am using RepositoryCreatedEvent with onRepositoryCreatedEvent event listener

for branch creation, I am using BranchCreatedEvent with onBranchCreatedEvent event listener

for branch deletion, I am using BranchDeletedEvent with onBranchDeleteEvent event listener

all the above the listeners are working as expected, I was able to perform my activity once the event listener listened. however for the repository deletion, I am using RepositoryDeletedEvent with onRepositoryDeletedEvent event listener, this is not working for me.

I am in bitbucket dc 8.9.4, amps version is 8.10.1

 

any help is much appreciated.

1 answer

0 votes
Singa Selva Sankar January 4, 2024

onRepositoryDeletedEvent - I had to remove the contructor and call the event listener, this resolves my issue. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events