Without using the Jira User Interface,
how can I get the Jira uptime, ideally using the API, but if that's not possible then some other way via a script
The purpose:
Welcome to the Atlassian Community!
Jira does not directly look at this, you'll need to read it from the application logs (<jira-home>/logs/atlassian-jira.log is the best one to scan, it contains something like "<date><time>Jira successfully started" and a message about stopping if you shut it down cleanly)
cheers @Nic Brough -Adaptavist-
(sorry for the delayed response: swamped, the usual story...)
looks like "Stopping launchers" is the first logline that is written at the start of the shutdown event.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.