Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

script runner multiple condition

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 Leader Jan 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
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

1,057 views 8 43
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you