how to assign to me an incident to myself?

Munna2
Kilo Contributor

this ticket only assign by system administrator

how can i assign this ticket?

6 REPLIES 6

Veer MS
Kilo Guru

Hi,

 

here is the code for UI Action.Make sure client callable checkbox is true.

function callme(){
var Name = g_user.getFullName();
g_form.setValue('assigned_to',Name);
g_form.setValue('work_notes',"Icident is assigned to me");

}

Let me know if this works.

Thanks

Shweta KHAJAPUR
Tera Guru

You should have at least an itil role to assign ticket.

Omkar Mone
Mega Sage

Hi 

Can you clear the requirement further.

Rahul Kumar17
Tera Guru

hi

 

https://www.servicenowguru.com/system-ui/ui-macros/add-me-ui-macro-user-group-fields/

 

 

If my response helped please mark it correct and close the thread.

Thanks,
Rahul Kumar