Reference Qual to filter the CI field on the Change form

IB98
Giga Sage

Hi,

I need some help writing a reference qual to filter the CI reference field on the Change request to only show the managed by is not empty CIs. There is a dictionary override on the CI field for change request with an OOB reference qual. How do I add the new code to the existing script Include?

Thanks you so much!

IB

1 ACCEPTED SOLUTION

Allen Andreas
Administrator
Administrator

Hi,

If you wish to keep the current reference qualifier and then add to it (which by your post, it seems that's your goal)...I wouldn't particularly mess with the existing script include and instead, change the reference qualifier to ALSO look at your additional filter parameter as well, such as:

javascript:new TaskUtils().getConfigurationItemFilter(current) + '^managed_byISNOTEMPTY';

Hoping the above works, I haven't tested, but give it a shot?

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

2 REPLIES 2

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

Right click on the dictionary and click on Configure Dictionary

 find_real_file.png

Scroll down to the dictionary overrides and open the one on change request

find_real_file.png

 

Click on override Ref Qualifier and add this: managed_byISNOTEMPTY

 

find_real_file.png

 

SAVE.

 

 

-Anurag

Allen Andreas
Administrator
Administrator

Hi,

If you wish to keep the current reference qualifier and then add to it (which by your post, it seems that's your goal)...I wouldn't particularly mess with the existing script include and instead, change the reference qualifier to ALSO look at your additional filter parameter as well, such as:

javascript:new TaskUtils().getConfigurationItemFilter(current) + '^managed_byISNOTEMPTY';

Hoping the above works, I haven't tested, but give it a shot?

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!