Populate Short Description Field On Incident Form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2017 03:29 AM
Hi Guys,
I want to populate some text filled in Short Description Field on Incident Form for a particular user.Let me know how to achieve this through client script
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2017 03:30 AM
Hi Gourav,
Tts simple,
g_form.setValue('short_description', 'HAHAHA');
My question is, why do you need to do it for a particular user??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2017 03:56 AM
i need just for testing purpose.If I want for multiple users with specific role then what I need to do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2018 09:33 AM
please give me the bussiness rule to that will automatically set 'short description' of every new incident to 'this is an automatic description'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2017 03:33 AM
HI Gourav,
var userID = g_user.userID;
if(userID == "sys_id of the user you want"){
g_form.setValue("short_description","test");
}