Info | ||
---|---|---|
| ||
This routine is available starting with SIL Engine™ katl-commons 2.5. This routine is available for Jira server and cloud deployment options. |
Syntax for the server version:
getWorklogUpdatedDate(worklog)
Syntax for the cloud version:
getWorklogUpdatedDate(issue, worklog)
Description
Excerpt |
---|
Returns the last date when the worklog was updated. |
...
Parameter | Type | Required | Description |
---|---|---|---|
worklog | Number | Yes | Id of the selected worklog. |
Return type
Date
Example
...
1 (server only)
Code Block |
---|
print(getWorklogUpdatedDate(11201)) |
Prints the last date when the worklog with id = 11201 was updated.
Example 2 (server only)
Code Block |
---|
for(number id in getWorklogIds("admin",key)){ print(getWorklogUpdatedDate(id)) } |
Prints the last date when the admin's worklogs of the current issue were updated.
Example 3 (cloud only)
Code Block |
---|
print(getWorklogUpdatedDate(key, 11201)) |
Prints the updated date of the worklog with id = 11201, on the current issue.
See also
Filter by label (Content by label) showLabels false max 150 showSpace false cql label = "jira_worklog_routine" labels jira_worklog_routine