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

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @PRADEEPREDDY GU 

You want to hide the priority field?

*************************************************************************************************************
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]

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

No

e.g... If i select Business service "test"

                         Application service"html"

After selection of these I didn't select Priority as "P1"

only p2,p3,p4.will select.

Hi @PRADEEPREDDY GU 

 

1. Need to check are you using OOTB priority lookup ?

2. Are you populating the priority based on CI /SO based, in that case you need to check the backend logic. 

*************************************************************************************************************
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]

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

1.yes

2.yes

 

tell me which script & logic can i wrote