Forums

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

script runner multiple condition

Spam Petya
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!
December 3, 2021

Hello,

I am using on premise confluence server, and using script runner. I have set up a custom event listener and I am lintening for LabelAddEvent. But it should only do things when the added label is a newly created. You can ask why am I not using the LabelCreateEvent. Because I need informations like the label name ( event.getLabel()), and the page name (event.getLabelled() as Page), where the label were added. These informations I can only get from the labeladd event. 

So my solution is working but it is fireing in every labeladd event insted of label created. How could I modify this?

1 answer

0 votes
Brant Schroeder
Community Champion
January 10, 2022

@Spam Petya Welcome to the Atlassian community

I would recommend submitting an issue to support here: https://productsupport.adaptavist.com/servicedesk/customer/portal/13/user/login?destination=portal%2F13

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events