I have a component name "xyz" and it has 5 statuses Operational, Partial Outage, Degraded Performance, Major Outage, Under Maintenance and I want to only change the name of "partial outage" to "degraded performance new". Is it possible to change the name of the existing status of any component on the statuspage?
Hi Naveen,
Yes you can. You can customize the names of the different component statuses. For example, you can change "Operational" to "Everything's OK!"
hey @Howard Nedd thanks for the quick response, but I am a beginner on statuspage, Can you please elaborate on it like where I can find the "Custom Footer section" or do I need to write some script and use the code you provided.
any help will be appreciable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Naveen Mishra ,
Your welcome. So let me describes the steps to show you how to do it.
<script>
$(function() {
var operationalText = "Operational"
var degradedText = "Degraded Performance"
var partialText = "Partial Outage"
var majorText = "Major Outage"
var newText = function(str) {
if (str.indexOf('Operational') != -1) {
return str.replace('Operational', operationalText);
}
if (str.indexOf('Degraded Performance') != -1) {
return str.replace('Degraded Performance', degradedText);
}
if (str.indexOf('Partial Outage') != -1) {
return str.replace('Partial Outage', partialText);
}
if (str.indexOf('Major Outage') != -1) {
return str.replace('Major Outage', majorText);
}
}
$('.legend-item').each(function() {
var $this = $(this);
var $html = $this.html();
$this.html(newText($html));
});
$('.component-inner-container .component-status').each(function() {
var $this = $(this);
var $html = $this.html();
$this.html(newText($html));
});
});
</script>
I hope this helps.
Regards,
Howard
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.
Hi, @Howard Nedd thanks a lot for your kind help. I really appreciate it. I have added the script in custom footer HTML and changed the operational status to "everything is ok" and it reflects the name change on the component as you can see in the attached images. But I also want to reflect the changes on the dropdown on the status name of "components". If there is a way to change that too, that will be very much helpful.
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.
@Howard Nedd Do you have a way to update the Component Status drop-down options in the Admin Dashboard when creating an incident, as per Naveen's image/question above?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would very much like to simplify the drop-down options to ensure consistency in how we are reporting.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
status value also need to update when we change names of component
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If I have two components listed, how would I change the name of the status for multiple? I've followed the steps above and can change it for all of them, but not each one individually. I'd like component A to be On Time, Slightly Delayed, Major Delayed, and then component B to be Not Ready and Ready.
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.