"Closed/Resolved" not showing in Problem 'State' choices

patricklatella
Mega Sage

Hi all,

I'm implementing Problem for our organization...my requirements include having the options for the "State" field to be:

Open, Pending Change, Closed/Resolved, and "Closed/Deferred.

I'm seeing that these are OOTB except for "Closed/Deferred", which I've added to the State field for the Problem table.   My issue is, when I go to set up my choice list for the State field, I'm not seeing the "Closed/Resolved" choice.   Is there an OOTB box reason for this?   thanks!

find_real_file.png

find_real_file.png

find_real_file.png

1 ACCEPTED SOLUTION

Mike Allen
Mega Sage

There is a client script that hides it in other areas (like incident).   Look for an onLoad client script.   There is also a Task State script include that may do something.   Generally, it is hidden and handled in an automated way.


View solution in original post

7 REPLIES 7

patricklatella
Mega Sage

excellent, thanks guys for the feedback.   Yes, there's a client script in place restricting the "Closed/Resolved" choice by the g_user.hasRoleExactly method.  


Shouldn't that not apply to me as an admin?   Or does that method override admin rights?


hasRoleExactly is in there for restricting inherited roles, such as what the admin has.   Admin inherits all roles, essentially, so you can set it up on tables to hide data from admins.   It is weird that it was used in a seemingly innocuous place here.   I'd switch it to hasRole.


patricklatella
Mega Sage

great, thanks again Mike!