Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Merge check @EventListener is always invoked

Dimitris Koutsogiorgas
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 10, 2019

Recently wrote a new merge check for my team. Works well and I have:

@EventListener
public void pullRequestOpened(PullRequestOpenedEvent prEvent) {
// some code...
}

But no matter the status of the plugin, disabled or enabled the check is always invoked. I do not want my merge check to run if the check itself is disabled.

What am I missing here? 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events