Info |
---|
|
This routine is available starting with katl-commons 2.5. This routine is available for Jira server and cloud deployment options. |
Syntax for the server version:
getWorklogCreatedDate(worklog)
Syntax for the cloud version:
getWorklogCreatedDate(issue, worklog)
Description
...
Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=getWorklogCreatedDate+-+15484736 |
---|
width | auto |
---|
|
Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | getWorklogCreatedDate(worklog) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Returns the created date of a worklog. |
Returns the created date of a worklog.
Parameters
...
Parameters for the cloud version:
...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
|
...
|
---|
worklog | Number | Yes | Id of the selected worklog. |
|
Return
...
Type
Date
Examples
Example 1
...
Code Block |
---|
print(getWorklogCreatedDate(11201)) |
Prints the created date of the worklog with id = 11201.
Example 2
...
Code Block |
---|
for(number id in getWorklogIdsForUser("admin", "TP -9")){
print (getWorklogCreatedDate (id ))
} |
Prints the created date for all the admin's worklogs of the issue with key = "TP-9".
Example 3 (cloud only)
Code Block |
---|
print(getWorklogCreatedDate(key, 11201)) |
Prints the created date of the worklog with id = 11201, on the current issue.
See also
Filter by label (Content by label) |
---|
|
15025 | showSpace | false |
---|
cql | label = " |
---|
|
jira_worklog_routine" and space = currentSpace ( ) | labels |
---|
|
jiraworklog_routine