The file you’ll want to change is ‘events/Shotgun/Shotgun_Utils.py’. In the GetTasks function (line ~116), look for these lines:
tasks = sg.find("Task", filters=[['sg_status_list', 'is', 'ip'],["task_assignees", "is", userEntry]], fields=return_fields, order=[{'field_name':'project','direction':'asc'},{'field_name':'entity','direction':'asc'},{'field_name':'content','direction':'asc'}])
tasks.extend( sg.find("Task", filters=[['sg_status_list', 'is', 'rdy'],["task_assignees", "is", userEntry]], fields=return_fields, order=[{'field_name':'project','direction':'asc'},{'field_name':'entity','direction':'asc'},{'field_name':'content','direction':'asc'}]) )
Right after those two, add this line:
tasks.extend( sg.find("Task", filters=[['sg_status_list', 'is', 'wtg'],["task_assignees", "is", userEntry]], fields=return_fields, order=[{'field_name':'project','direction':'asc'},{'field_name':'entity','direction':'asc'},{'field_name':'content','direction':'asc'}]) )
Note that the important bit is this filters argument:
filters=[['sg_status_list', 'is', 'wtg']
It’s a per-Task thing. The idea is that if you set up some voodoo magic that automatically sets templates based on the Task type (and project/shot or w/e), the submitter could just pull down the value instead of having to set it (when you hit the ‘use shotgun data’ button). Of course, you can just set it in SMTD if you want.
So it looks like you need to switch tabs for the controls’ “enabledness” to update (e.g., switch to the ‘Scripts’ tab and back). This must be a bug that got introduced when we combined them into a single tab (I think they used to be separate)… Apparently no one noticed till now