Store Worklog not enabled message using API
Hi,
Trying to evaluate timesheet for use in our organization. To integrate this as part of our BusOps workflow, I need to make sure the API can extract the data I need. Unfortunately, I get the following message "Store Worklog not enabled" when under the configuration for timesheet this is clearly checked. Not sure what I need to do here? I'm on Jira cloud.
Thanks - Jeff
Comments (16)
-
-
reporter Hi Andriy,
Thanks for getting back to me so promptly.
https://simbexsw.atlassian.net https://simbexsw.atlassian.net
Jeff
-
Hi Jef
seems you are trying rest api
Could you please refresh configuration page first (is it possible setting been changed by somebody?) Could you please uncheck, wait for green message, and check again 'Store Worklog' configuration option.
And try again you rest call.
-
reporter Hi Oleksandr,
Followed the steps as you suggested. Saw green notification messages indicating that I unchecked, followed by a “Store Worklog saved successfully”. Ran my Get again using the following url: https://timesheet-plugin.herokuapp.com/api/1/worklog?start=2017-08-21\ https://timesheet-plugin.herokuapp.com/api/1/worklog?start=2017-08-21\&end=2017-12-27 &end=2017-12-27
Same error message “Store Worklog not enabled”
Thanks,
Jeff
-
and what about "and check again"? And please wait at least 1 minute for sync until GET.
-
reporter Yes, I did that and got the “Store Worklog saved successfully” message for both uncheck and check
-
Hi Jeff,
Could you please try it now?
I mean the api.
Thank you.
-
Sorry, I had to roll-back fix as something went completely wrong.
-
I've just made better fix now.
-
reporter Yes. Much better. Is there a rest API endpoint that I can get json that captures reporting based on:
1) categorize by field: porject
2) Group by: worked user
For a given start and end date?
Thanks - Jeff
-
Sorry, no, rest api and excel export is designed to provide raw worklogs, but it is possible to have any issue field included in the result, by using moreFields query parameter with field id specified as value.
-
reporter In the meantime, do you have JS code that you could share to help with data aggregation? Didn’t want to start writing from scratch.
Thanks again for the help. Useful tool.
Jeff
-
reporter One more question. My query parameters have start and end date defined, but worklogs are being returned out of this range. Am I missing something?
https://timesheet-plugin.herokuapp.com/api/1/worklog?start=2017-12-23\ https://timesheet-plugin.herokuapp.com/api/1/worklog?start=2017-12-23\&end=2017-12-27 &end=2017-12-27
-
please specify you question. Note in case of end=2017-12-27 you will not get worklog on 2017-12-27T10:10:10
but you should get worklogs in range 23-26 included and worklogs that you have permission for read.
-
Sorry, we have no code to aggregate rest api results.
-
reporter - changed status to resolved
resolved
- Log in to comment
Hi Jeff,
Could you please clarify your Jira Cloud instance url?
Thank you.