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

Retrieving Confluence User Last Login Date without using SQL Database from Server

We have Confluence Server in our environment and I would like to retrieve Last login date of users in Confluence. I don't want to use SQL Query as to me , it's not a good idea to directly using the Database and would like to use REST API.

Is there any REST API available which provides me Last login date information. I am able to collect, User Id, Display Name, Status etc.




1 answer

0 votes
Brant_Schroeder Community Leader Jan 08, 2020

You can u create a macro that displays the information.

Macro Documentation

If you have a lot of users then this could be slow.

Thanks Brant for you your quick response. Is there any way to get it using API.

I am running some other automation stuffs using Powershell and accessing REST API end points  while running those.

I am more curious to get some information on the API. I am using Confluence Server in my environment.




Brant_Schroeder Community Leader Jan 08, 2020

I do not know of a way to get that information via the delivered API.  If you have ScriptRunner you could create an endpoint that provides that information.

Suggest an answer

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

How is your team having fun and bonding, remotely, utilizing Confluence?

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...

327 views 9 7
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