remove the Inc ticket priority P1(Critical) for the some application service & Business service.

PRADEEPREDDY GU
Tera Expert

How to remove the Inc ticket priority P1(Critical) for the some specific application service & Business service.

 

Can anyone help me on this, tqs in advance

1 ACCEPTED SOLUTION

MichalL
Kilo Expert

Hi,

 

You can utilize simple onChange Client Script. Trigger it on change of either Application Service or Business Service. IF both fields match your condition, then you can use removeOption method from GlideForm:

 

g_form.removeOption('priority', '1');

 

That would be simplest I believe.

Michal Lewandowski

View solution in original post

9 REPLIES 9

Hi @PRADEEPREDDY GU 

 

I t is not like that, 

 

If you said yes for 1st option, then you need to change the impact and urgency manually, if you said 2nd, then write a BR to get the detausl form CI and put in form. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

please provide some sample script

Hi Mate, 

 

I dont have code with, sorry  I am not a coder 😞 , you can check on community.

 

@Sandeep Rajput  @AshishKM 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

MichalL
Kilo Expert

Hi,

 

You can utilize simple onChange Client Script. Trigger it on change of either Application Service or Business Service. IF both fields match your condition, then you can use removeOption method from GlideForm:

 

g_form.removeOption('priority', '1');

 

That would be simplest I believe.

Michal Lewandowski

How to hide reference field options