Since JIRA 6.4, JIRA itself provides 3 JQL functions related to work logs. Please use them instead of functions provided here. Mainly JIRA provides
- worklogAuthor
- worklogComment
- worklogDate
For details of this JQL functions please check this documentation: https://confluence.atlassian.com/jira064/advanced-searching-fields-reference-720416679.html
Worked Issues
workedIssues JQL function returns all the issues worked in a period. It takes 2 arguments, start date and end date and returns worked issues within this period. Date-time format is the same used in date-time picker.
issue in workedIssues("01/Jan/2017", "31/Jan/2017")