It's all about the answers!

Ask a question

Need Script based condition to restrict time sheet booking for given planned for attribute


vasanthakumari hariharan (231129) | asked Oct 26 '17, 5:32 a.m.

 Hi,


Actually, we planned to block time sheet booking for some iterations in project areas. So if Planned for ='x' then,owner of the work item should not be allowed to log efforts. is there any script based condition available for this customization?

One answer



permanent link
Ralph Schoon (63.3k33646) | answered Oct 26 '17, 6:33 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

No. And JavaScript based attribute customization is also not going to work with a probability of 0.99999999999999999.


Comments
Ralph Schoon commented Oct 26 '17, 7:02 a.m. | edited Oct 26 '17, 7:03 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

The only chance I see would be using an advisor/precondition on work item save.

The Timesheet APi is explained here: https://rsjazz.wordpress.com/2015/03/31/the-work-item-time-tracking-api/

Timesheets is information linked to work items using a special link. So there is a good chance that you will be able to detect changes to them in work item save and a precodition/advisor could detect if it is allowed to save and prevent it from happening.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.