How to display additional fields on the Service Portal Ticket page.
Clone Widget
Login as an admin
Go to a open ticket that uses the “ticket” page
Ctrl-Right Click the Ticket Fields Widget
In the Widget Editor, click the Hamburger
Clone “Ticket Fields”
Name it “Ticket Fields v2”
Adjust Server Script
Edit this line in the Server Script area and add the field you want
var fields = $sp.getFields(gr, 'number,state,priority,sys_created_on');
PRO TIP: You need to have data in the field to see the field in the Ticket Fields widget
Add Widget to the Ticket Form
Go to a open ticket that uses the “ticket” page
Ctrl-Right Click the Ticket Fields Widget
Click “Page in Designer”
Add the Ticket Fields v2 widget
Remove Old Widget
Sometimes you can’t see a widget in the Page Designer and you have to use the “Page Editor” instead.
Go to a open ticket that uses the “ticket” page
Ctrl-right Click the Ticket Fields Widget
Click “Page in Designer”
Click “Instance in Page Editor”
Click the “Ticket Fields” block.
Click the Hamburger, click “Open in platform”
Click Delete