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

Customize Incident Status

Ajith Ramachandra July 25, 2022

 

Hello, is there a way to Customize Incident Status, we want to remove "Monitoring" and instead use "Mitigated"

 

1 answer

0 votes
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.
July 25, 2022

Hi @Ajith Ramachandra ,

 

You can customize the names of the different component statuses. For example, you can change "Operational" to "Everything's Great!"

 

Here is the JS example:

<!-- 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 that helps.

 

Regards,

Howard

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events