Return Type: ISSUE
All the date fields in worklog functions can be absolute dates or relative dates. User fields should be a valid username or "CURRENT_USER". The constant "CURRENT_USER" can be used to represent current logged in user.
workStartedOn(date,[User])
Function to find all issues for which work was started on the specified date and optionally by a specific user. You can either provide an absolute date of the format 'yyyy/MM/dd' or a relative date. Use 'y' for years, 'w' for weeks, 'd' for days, 'h' for hours and 'm' for minutes.
Just to confirm, it is work Started and not the day when work was logged.
Since : v1.0
Usage/Examples:
- issue in workStartedOn("2010/10/25") - Returns all the issues for which work was started on Oct 25th 2010.
- issue in workStartedOn("-1d") - Returns all the issues for which work was started yesterday.
- issue in workStartedOn("-1d", "someguy") - Returns all the issues for which work was started yesterday by 'someguy'.
- issue in workStartedOn("-1d", "CURRENT_USER") - Returns all the issues for which work was started yesterday by the current user.
workLoggedOn(date,[User])
Same as above. Here the date will be the date when work was logged and not when work was started.
Since : v1.0
workUpdatedOn(date,[User])
Same as above two. Here the date will be the date when work was updated and not when work was started or logged. If the worklog was never updated, the date will be same as logged(created) date.
Since : v1.0
workLoggedAfter(date,[User])
Same as above three. Finds issues after which work was logged on an issue.
Since : v3.0.2
workLoggedBetween(startDate,endDate,[User])
Function to find all issues for which work was started between the specified dates and optionally by a specific user. startDate is inclusive where as endDate is not. Both absolute and relative dates are supported, just like the other functions.
Since : v1.0
Usage/Examples:
- issue in workLoggedBetween("2010/10/25","2010/11/25") - Returns all the issues for which work was started between Oct 25th 2010 and Nov25th 2010.
- issue in workLoggedBetween("-1w","-1d", "someguy") - Returns all the issues for which work was started between a week back and yesterday by 'someguy'.
Function to find all issues for which work was done by a specific user or users in a specific group. If a group is specified, issues where work done by any of the users in that group will be returned.
Since : v7.1
Usage/Examples:
- issue in workLoggedBy("someguy") - Returns all the issues for which work was done by "someguy".
- issue in workLoggedBy("somegroup") - Returns all the issues for which work was done by users in 'somegroup'. Useful to find issues worked on a certain team.
Copyright © 2010. All rights reserved.