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 can i find the last time a user logged in from Jira from an external api?

I'm developing an external application which needs to know when the last time users logged in to Jira. JIRA is using Crowd for the user directory. How can I query via REST or another method (to JIRA and Crowd) to find out this information?

I know this information is recorded as I can see it when I view the user in Jira.

3 answers

1 vote
Bruno Vincent Community Leader Dec 15, 2015

Hi Steven,

As far as I know there is no such REST API. But you can get that information directly from the database:

Best regards,


I logged a request to add this info to the API:

Like Kirill Karpelson likes this

good luck with that

Like Jorge Suarez likes this

Hi Steven,

I checked JIRA REST API and do not see a method that returns user info along with last loging time. Also I do not see last login time in Crows REST API doc.

I guess you need to develop a custom JIRA REST addon to serve the info you need.

That's what I thought. So I need to make a add-on for JIRA and call this information from an internal Java API?

Looks like this is the only way.

so what attribute is needed ?

See Description above: "last time users logged in to Jira." (and "last time users logged in to Confluence"!)

@Jeroen Habets thank you!

I was asking the exact name of the attribute to expand the lastLogin date

Like ICT Support likes this

@Rik Helsen one more question, is this a call for Jira Cloud ?

the URL kind of gives that away :)
(so yes)

@Rik Helsen thank you for the answer. Do you know how to retrieve the same data from the Jira Server api ?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in United States

One week from next event!

We're having breakfast next Monday at 8AM.  We'd love to see you all come out!  Details and RSVP can be found at:

18 views 0 0
View post

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