How to remove the word "Request" from the Trouble Ticket
search cancel

How to 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.

Environment

Release: a7n0c000000PBNr
Component:

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

Attachments

1558692939628000029077_sktwi1f5rjvs16h56.jpeg get_app
1558692937633000029077_sktwi1f5rjvs16h55.jpeg get_app