API to check when user was last active in Atlassian

integrations integrations October 12, 2023

How can we determine when user has last accessed any Atlassian product using API's.

 

Do we have any API to fetch users last login activities collectively from all products.

 

Example - 

API to fetch when user has used or logged into Atlassian to use any Atlassian cloud product.

1 answer

1 vote
David Bakkers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 12, 2023

Hello @integrations integrations 

> Do we have any API to fetch users last login activities collectively from all products.

Yes. The User's last active dates endpoint of the Organisations REST API.

integrations integrations October 13, 2023

Thanks @David Bakkers 

Can we ftech the users login activities between specific dates?
The API given above only lists last logins within Atlassian products whereas our requirement is to fetch users login attempts within particular timespan.

David Bakkers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 13, 2023

> Can we fetch the users login activities between specific dates?

Yes, using the Get an audit log of events endpoint, BUT only if you have subscribed to Atlassian Access.

If you Google 'Atlassian cloud user login history' the very first result is the same answer to your question.

Bye.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events