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

Timesheet not getting refrenced by WorkItemEndPoints.WORK_TIME

I am using Java api to get the Timesheet data . Below is my code snippet

IWorkItemReferences references = workingCopy.getReferences();
List <IReference> timesheets = references.getReferences(WorkItemEndPoints.WORK_TIME);

References is always yielding null , i.e List timesheets is always null for all the workitems .  Am I missing some configuration for Timesheets , which is why is failing to get reference from  workItem , or something else ?

0 votes


Accepted answer

Permanent link
My API explained here https://rsjazz.wordpress.com/2015/03/31/the-work-item-time-tracking-api/ worked for me.
harshal Wable selected this answer as the correct answer

0 votes

Comments

How to find out Week - Start date or End Date for a particular timesheet entry ?

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
× 11,063

Question asked: Dec 15 '15, 7:46 a.m.

Question was seen: 2,780 times

Last updated: Dec 20 '15, 5:00 p.m.

Confirmation Cancel Confirm