Remove the word "Request" from the Trouble Ticket
search cancel

Remove the word "Request" from the Trouble Ticket

book

Article ID: 29077

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

How to remove the word "Request" from the Trouble Ticket column in CA Spectrum OneClick with the CA Service Desk Integration enabled so that only the Trouble Ticket number is displayed.

Resolution

On the OneClick system:

  1. Copy the $SPECROOT/tomcat/webapps/spectrum/WEB-INF/alarm/config/column-troubleticketid-config.xml file to $SPECROOT/custom/alarm/config/column-troubleticketid-config.xml
  2. Edit the $SPECROOT/custom/alarm/config/column-troubleticketid-config.xml file to look like the following:

    <content>
        <attribute>0x12022</attribute>
         <expression>
           value() != null &amp;&amp; value().toString() != null &amp;&amp;
            value().toString().split( "\\s" ).length > 1 ?
                value().toString().split( "\\s" )[1] : value()
        </expression>
      </content>

  3. Save the changes to the $SPECROOT/custom/alarm/config/column-troubleticketid-config.xml file
  4. Log out and then back into OneClick