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

Confluence macro to get user login count

In order to show some sort of 'welcome' text to users that have never before accessed Confluence, I am trying to write a macro that can read out the total login count for the current user.

I found out how to get the previous login date ($action.previousLoginDate) but unfortunately, I have not yet found a way to access the number of previous logins. 

Any ideas?

Thank you!

1 answer

0 votes
Dominic_Lagger Community Leader Oct 10, 2019

Hi @Kyb IT 

I don't think this will work. 

Even in the Admin console, there is no data about number of logins. Just the number of failed logins. 

Maybe you could write a macro, which shows you the last login of each user, or saves it somewhere. Then you could generate this list daily and reach your goal.
However, I doubt that this is exactly what you want.

Regards,

Dominic

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

382 views 11 11
Join discussion

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