Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to change /status response?

Marc Richter April 8, 2019

Hi,

I'm currently evaluating JIRA DataCenter version. I learned, that there is a status page in JIRA at http://<my-jira>/status , which returns a JSON reply of "{"state":"RUNNING"}" as well as a HTTP_STATUS of 200 when everything is OK.

How can I change this to something else, like {"state":"MAINTENACE"}, for example to inform my health probes to not flip out and to gracefully remove that one node from the cluster by informing the LoadBalancer of the maintenance this way?

1 answer

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 10, 2019

Hi Marc,

I know that you can change that state to maintenance when that specific node is doing a foreground lock and reindex.  This is also explained in the KB https://confluence.atlassian.com/jirakb/how-to-re-index-jira-data-center-without-downtime-757467576.html

Right now, I do not know of another way to manually change that /status for a node in a data center cluster.  I did find this feature request to permit admins to set the status manually over in https://jira.atlassian.com/browse/JRASERVER-66703

If implemented, I think it would give you the ability to manually set a status for a node.

I hope this helps.

Andy

Suggest an answer

Log in or Sign up to answer