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:

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 1 person 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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted 12 hours ago in Off-topic

Miscellaneous Monday - Where it all started.

Happy Monday everyone! If you're anything like me, you tend to think a lot about what the future looks like. What are my kids up to in 15 years? Have we solved for climate change? How could TVs poss...

87 views 13 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you