- edited description
moreFields in REST call is not working as described
Issue #853
resolved
Hello Andriy, thanks for your useful plugin, we are using it all the time for time report generation. I have one question on REST API:
I've tried to get some additional fields with REST endpoint, but there is no proper response for that, please take a look at url:
https://url/jira/rest/timesheet-gadget/1.0/raw-timesheet.json?startDate=24%2FApr%2F16&endDate=24%2FApr%2F16&projectRoleId=10001&projectid=10180&weekends=true&showDetails=true&moreFields=status&selectedProjectId=10180
So, problem is that response is not full, for example:
{
"worklog": [
{
"key": "some key",
"summary": "...",
"entries": [
{
// all enries OK
}
]
}
}
But there is no: fields array -> fields [{},{},{}] moreFields=status or any other field is not returned it response.
It's only REST API problem, cause jira/secure/ConfigureReport.jspa with moreFields=status returns HTML page in Jira with all statuses.
Timesheet Reports and Gadgets Plugin Version: v2.9.1.3 Jira: v6.3.8
I will appreciate any help!
Comments (5)
-
reporter -
reporter - edited description
-
reporter - edited description
-
- changed status to resolved
-
reporter Got it, thanks for the quick response!
- Log in to comment