AnsweredAssumed Answered

Change description on detail_cr to indentiy child ticket

Question asked by rmps on May 14, 2016
Latest reply on May 17, 2016 by Lindsay_Estabrooks

Hi Everybody,

 

I'm trying to simplify the child creation. For this, I cloned the "make_copy()" native function . I have a global variable indicating that the cloned "make_copy" function was called.

 

The function is operating successfully!!!!! But I would like to set additional text in the description field (eg "Ticket created through ticket father nº xxxx " ) , so analysts can identify that the current ticket was created from another and it's a child.

 

 

I think it would be something like

 

if ( ticket is child ) {

<INPUT TYPE=hidden NAME=SET.description VALUE=<PDM_FMT ESC_STYLE=JS2>"$args.description %0A(Ticket created from father ticket nrº $???)"</PDM_FMT>>

}

 

but I 'm not having success with this code above. He is correct ? In what position I shall insert this code ?

 

Anyone can help me?

 

Thanks very much,

 

Rafael

Outcomes