Control task bar operation visiblity by task attribute

Discuss problems installing or using TrackStudio.

Control task bar operation visiblity by task attribute

Postby grahamb » Mon Oct 10, 2016 5:56 pm

Is it possible to control the visibility of operation buttons on the task bar by linking them to attributes of the task?

For example a task with a workflow "x" might only be able to do operation "y" if the custom field "z" of the task is > 0. Currently I can check the custom field in a script associated with the operation and throw an exception if the operation is not permitted, but ideally I'd like to prevent the operation button being visible at all when not permitted.

I realise that I could create two workflows, one with operation "y", one without but how would I then switch the task between the workflows which would seem to be an admin task rather than a user task editing a custom field?
Regards,

Graham
grahamb
 
Posts: 17
Joined: Wed Jan 28, 2009 7:16 pm

Re: Control task bar operation visiblity by task attribute

Postby admin » Mon Nov 07, 2016 10:30 pm

No, right now it is not possible, you need edit source code to do it.
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 8139
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia


Return to TrackStudio Support

Who is online

Users browsing this forum: Baidu [Spider] and 6 guests