I've created a listener in Scriptrunner for Confluence to monitor the upload of large attachments. I can get the attachment info (name, type, size) but how can I get the info on who uploaded the attachment (username, email)?
I'm using the AttachmentCreateEvent.
I guess you can get list of attachments from the event (or a single attachment) and then look for those attachments creator(s).
I believe attachment's creator would be same person as the user who uploaded it.
and user then has (full)name and email fields you can access. well, it's all in the docs
Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...
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