How to remove the word "Request" from the Trouble Ticket column in CA Spectrum OneClick with the CA Service Desk Integration enabled

Document ID : KB000029077
Last Modified Date : 14/02/2018
Show Technical Document Details

Description: 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.

 

ServDesk.jpg

 

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