Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

can we change the name of status of component on statuspage?

Naveen Mishra May 10, 2022

 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?   

2 answers

1 accepted

0 votes
Answer accepted
Howard Nedd
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 10, 2022

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!"

<!-- Customize (don't change the ones you want to stay the same) the values declared in the first four lines and then paste the following into your Custom Footer section -->

<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>

Hope this helps.

Regards,
Howard
Naveen Mishra May 10, 2022

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.

Howard Nedd May 10, 2022

Hey @Naveen Mishra ,

 

Your welcome. So let me describes the steps to show you how to do it.


  1. Go to: https://manage.statuspage.io/
  2.  Go to Your Page: 
  3. Go to Customize page and emails
  4. click on Customize HTML & CSS
  5. Add the code I have given to you in my prior message in the Custom Footer HTML , adjust the status names that's between the "....."and Publish your changes
<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

Like Naveen Mishra likes this
Howard Nedd May 10, 2022

 

Your code goes here:

 

footer.jpg

Like Naveen Mishra likes this
Naveen Mishra May 12, 2022

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.

Naveen Mishra May 12, 2022

Screenshot (427).pngScreenshot (428).png

Like Krystal Gabel likes this
Krystal Gabel July 10, 2023

@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? 

Jeanne Schock July 26, 2023

I would very much like to simplify the drop-down options to ensure consistency in how we are reporting. 

Sudheer September 1, 2023

status value also need to update when we change names of component

0 votes
CMillard
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 13, 2024

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. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events