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

How to find out who added a label

The Confluence LabelAddEvent does not provide the user who added the label... so how do i get that information?

1 answer

1 accepted

Hmm i think one possibility is it to use the request object

HttpServletRequest request = ServletActionContext.getRequest();
String remoteUser = request.getRemoteUser();

Unfortunatelly this does not work in Confluence 5.1 anymore. Any other ideas?

Solution: ask the labeled page for its labelings page.getLabelings. There is a user name at the labeling.

Hi Sandro,

I'm also interested in this functionality, but I could not find any more information about getLabelings. Could you let me know a little bit more information?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

What's New in Confluence Cloud – November 2019 Edition

Hey community! This month we’re excited to share brand new features to help you make your mark on Confluence. If you haven’t already, check out our updates from October and September too! Expre...

29,310 views 29 56
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