How to get the field 'billedSeconds' of a worklog

Cyrine Bjaoui April 28, 2017

Hello,

 

I am using Tempo Timesheet rest api to get some field of worklogs using this query:

/rest/tempo-timesheets/latest/worklogs?dateFrom=2017-03-01&dateTo=2017-03-31&teamId=DTI

in the Json response I can't get the field : billedSeconds. I see all the other fields but not this one..

Is there any solution how to possibly get that field.

Thanks.

1 answer

0 votes
Cyrine Bjaoui April 28, 2017

All fields I got are :

{
'timeSpentSeconds': 23220,
'author': {
'avatar': xxxx',
'self': 'xxxx',
'displayName': xxx',
'name': 'xxxx'
},
'comment': 'xxxx',
'dateStarted': 'xxxx',
'id': xxxx,
'self': 'xxxx',
'worklogAttributes': [],
'issue': {
'key': 'xxx',
'issueType': {
'iconUrl': 'xxx',
'name': 'Task'
},
'summary': 'xxxx',
'id': xxx,
'self': 'xxxx',
'remainingEstimateSeconds': 0,
'projectId': xxxx
}
}

It seams that the field is missing at json result. REST API missing billedSeconds field. Any confirmation ?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events