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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.