I want to set my incident short description using record producer.

dhineshkumar
Tera Guru

Hi Experts

 

I want to set my incident short description based on my record producer variables. If I select the issue type is training completed my incident short description should be "new training" . If I select the issue type is epic the short description of my incident ticket should be "new epic". How to finish this task ??

 

dhineshkumar_0-1685556498653.png

Thanks in advance.

 

1 ACCEPTED SOLUTION

Manmohan K
Tera Sage

Hi @dhineshkumar ,

 

Add below code in Record producer script- Make changes to match issue type backend name and issue type choice values

if (producer.issue_type== 'training_completed'){
current.short_desciption="new training";
}
if (producer.issue_type== 'epic'){
current.short_desciption="new epic";
}

 

View solution in original post

3 REPLIES 3

Anurag Tripathi
Mega Patron
Mega Patron

You can open the record producer and look at the record producer script.

Modify the line that sets short description and add the way you want it to be.

-Anurag

Here is an eg

 

AnuragTripathi_0-1685557648370.png

 

-Anurag

Manmohan K
Tera Sage

Hi @dhineshkumar ,

 

Add below code in Record producer script- Make changes to match issue type backend name and issue type choice values

if (producer.issue_type== 'training_completed'){
current.short_desciption="new training";
}
if (producer.issue_type== 'epic'){
current.short_desciption="new epic";
}