Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Restrict number of hours to be entered through Time tracking tab RTC

Hi,

I want to develop a operation adviser plugin which will restrict number of hours to be entered on
Saturday and Sunday through Time tracking tab.


how to get the time tracking entry for particular day? as I want to implement below precondition. please let me know is it possible to get the Day of week from time tracking tab?

<precondition description="The work items can be saved if and only if the Time Tracking value is equal to 2 or greater than 2." id="net.atos.ssc.time.tracking.operationAdvisor" name="Time Tracking of Work Item">
<Day_of_week_to_restrict= “Saturday”, “Sunday”>

</precondition>

0 votes



One answer

Permanent link

This is the time tracking API as far as I know it: https://rsjazz.wordpress.com/2015/03/31/the-work-item-time-tracking-api/

You will have to look at the java simple date format tooling to figure the day.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 1,221

Question asked: Aug 08 '17, 2:35 a.m.

Question was seen: 2,282 times

Last updated: Aug 09 '17, 4:06 a.m.

Confirmation Cancel Confirm