-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 7.12.3
-
Component/s: System Administration - Others
-
7.12
-
Severity 3 - Minor
Issue Summary
When trying to check the JIRA status using the URL http(s)://<JIRA_BASE_URL>/status
JIRA presents a login page, and no status is reported.
Environment
- JIRA 7.12.3
Steps to Reproduce
- Install JIRA 7.12.3
- from the command line, execute the command:
curl http://localhost:8080/status
Expected Results
You should get a JSON object similar to below:
{"state":"MAINTENANCE"}
Or
{"state":"RUNNING"}
Actual Results
JIRA offers a long page, no JSON is received:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"/> <title>Log in - Jira7123</title> <meta name="application-name" content="JIRA" data-name="jira" data-version="7.12.3"><meta name="ajs-server-scheme" content="http">
Notes
Issue is not happening on JIRA 7.12.1 or on JIRA 7.13.0
Workaround
Avoid looking for the JSON status object data while using the status URL for load balancing or monitoring health checks.