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.
Community moderators have prevented the ability to post new answers.
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,
Bruno
I logged a request to add this info to the API: https://jira.atlassian.com/browse/CONFCLOUD-64260
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
See Description above: "last time users logged in to Jira." (and "last time users logged in to Confluence"!)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Rik Helsen thank you for the answer. Do you know how to retrieve the same data from the Jira Server api ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's what I thought. So I need to make a add-on for JIRA and call this information from an internal Java API?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Looks like this is the only way.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Volodymyr Krupach, @[deleted] I logged a request to add this info to the API: https://jira.atlassian.com/browse/CONFCLOUD-64260
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.