Maya task status

I don’t know if I am doing something wrong here but is there a reason why you can not set the task status to anything other then In Progress in the maya shotgun panel? I would like to be able to set the status to On Hold or anything else but for some reason I only ever have the option to set it to in progress.

3 Likes

Hi @jkiser!

Good question. So this is by design, but it can be customized. You can read more about doing that here.

The thinking here is that we felt studios on the whole by default wouldn’t want their users setting the status to anything other than in progress from within the panel app.

However this action is implemented via a hook, and you can implement your own actions.

By default, the Shotgun panel app will use two hooks when in Maya to generate the actions.

The general_actions.py is what contains the set to in progress hook:

So you could take a copy of that hook, paste it in your config’s hook folder (perhaps in a tk-multi-shotgunpanel sub folder), and then update the tk-multi-shotgunpanel.yml settings to use:

actions_hook: "{self}/general_actions.py:{self}/{engine_name}_actions.py:{config}/tk-multi-shotgunpanel/general_actions.py"

In the hook, you could then remove all actions other than the set in progress one, and then repurpose that to become your “On Hold” action.

Then you just need to add your new action to the panel settings:

1 Like

Awesome thank you so much I will get this implemented right away!

1 Like

Alright got things working here that was pretty painless I do have a problem however. I have some custom status’ and when I switch to them in the maya shotgun panel the task label switches to the status short code and not the status name and you lose the little icon next to the status. Check out the pictures below. You can see “In progress” which is a “locked” default system type status looks as I would expect but “Ready For Review” shows only rfr which looks pretty bad. Any idea how to fix that?

ddash_thumb