Adding activities to ticket conversations widget?

patricklatella
Mega Sage

Has anyone successfully added other field changes besides the "Additional Comments" field to the Ticket Conversations widget?  The goal is to get activities from the back end to show in the portal.  Thanks in advance everyone!

find_real_file.png

 

to show here:

 

find_real_file.png

8 REPLIES 8

sachin_namjoshi
Kilo Patron
Kilo Patron

You can use below solution to get extra fields in ticket conversation widget.

 

Regards,

Sachin

Hi Sachin, thanks for responding.

I don't see the solution you're referring to.

You will have to clone the Ticket fields widget (attached the Ticket form page) and add the required fields in Server code (ours looks like below):

 

 

 

var fieldStrings = ['number', 'state', 'priority', 'sys_created_on', 'caller_id'];

 

              if (gr.getValue('sys_mod_count') > 0) {

 

                      fieldStrings.push('sys_updated_on');

 

              }

 

              if (gr.getValue('state') == "7") {

 

                      fieldStrings.push("close_notes");

 

                      fieldStrings.push("close_code");

 

                      fieldStrings.push("closed_at");

 

              }

 

              var tableName = gr.sys_class_name + '';

 

              if (tableName === "change_request") {

 

                      fieldStrings.push("type");

 

                      fieldStrings.push("risk");

 

                      fieldStrings.push("start_date");

 

                      fieldStrings.push("end_date");

 

                      fieldStrings.push("work_start");

 

                      fieldStrings.push("work_end");

 

              }

 

 

Our Customized Ticket form page looks   like this:

 

find_real_file.png

 

Regards,

Sachin

Hi Sachin,

I'm looking to add field changes with the time stamp to the "Ticket Conversations" widget, not the "Ticket Fields" widget...does your solution do that?  I'm not looking to add additional fields to the "Ticket Fields" widget.