Update Worklog
Name
update_worklog
Description
Related Tables
Parameters
Parameter | Label | Required | Options | Description |
---|---|---|---|---|
IssueIdOrKey | IssueIdOrKey | NO | ||
WorklogId | WorklogId | NO |
Output Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description |
---|---|---|---|---|---|
Id |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
IssueId |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
Self |
DT_WSTR
|
nvarchar(150)
|
150 | False |
|
AuthorSelf |
DT_WSTR
|
nvarchar(150)
|
150 | False |
|
AuthorAccountId |
DT_WSTR
|
nvarchar(100)
|
100 | False |
|
AuthorEmailAddress |
DT_WSTR
|
nvarchar(100)
|
100 | False |
|
AuthorDisplayName |
DT_WSTR
|
nvarchar(200)
|
200 | False |
|
AuthorIsActive |
DT_BOOL
|
bit
|
False |
||
AuthorTimeZone |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
AuthorAccountType |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
CommentFormatted |
DT_NTEXT
|
nvarchar(MAX)
|
False |
||
Comment |
DT_NTEXT
|
nvarchar(MAX)
|
False |
Join formatted text blocks using space separator (new lines will be lost) | |
UpdateAuthorSelf |
DT_WSTR
|
nvarchar(150)
|
150 | False |
|
UpdateAuthorAccountId |
DT_WSTR
|
nvarchar(150)
|
150 | False |
|
UpdateAuthorEmailAddress |
DT_WSTR
|
nvarchar(100)
|
100 | False |
|
UpdateAuthorDisplayName |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
UpdateAuthorActive |
DT_BOOL
|
bit
|
False |
||
UpdateAuthorTimeZone |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
UpdateAuthorAccountType |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
Created |
DT_DBTIMESTAMP
|
datetime
|
False |
||
Updated |
DT_DBTIMESTAMP
|
datetime
|
False |
||
Started |
DT_DBTIMESTAMP
|
datetime
|
False |
||
TimeSpent |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
TimeSpentInSeconds |
DT_I8
|
bigint
|
False |
||
AuthorAvatarUrls48x48 |
DT_WSTR
|
nvarchar(500)
|
500 | False |
|
AuthorAvatarUrls24x24 |
DT_WSTR
|
nvarchar(500)
|
500 | False |
|
AuthorAvatarUrls16x16 |
DT_WSTR
|
nvarchar(500)
|
500 | False |
|
AuthorAvatarUrls32x32 |
DT_WSTR
|
nvarchar(500)
|
500 | False |
|
UpdateAuthorAvatarUrls48x48 |
DT_WSTR
|
nvarchar(500)
|
500 | False |
|
UpdateAuthorAvatarUrls24x24 |
DT_WSTR
|
nvarchar(500)
|
500 | False |
|
UpdateAuthorAvatarUrls16x16 |
DT_WSTR
|
nvarchar(500)
|
500 | False |
|
UpdateAuthorAvatarUrls32x32 |
DT_WSTR
|
nvarchar(500)
|
500 | False |
Input Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description |
---|---|---|---|---|---|
VisibilityType |
DT_WSTR
|
nvarchar(4000)
|
4000 | False |
Enter 'group' or 'role' |
VisibilityValue |
DT_WSTR
|
nvarchar(4000)
|
4000 | False |
The name of the group or role to which visibility of this item is restricted. |
Comment |
DT_NTEXT
|
nvarchar(MAX)
|
True |
||
CommentFormatted |
DT_NTEXT
|
nvarchar(MAX)
|
True |
||
StartedAt |
DT_WSTR
|
nvarchar(100)
|
100 | False |
Datetime with timezone |
TimeSpent |
DT_WSTR
|
nvarchar(50)
|
50 | False |
Defines a time spent in hours and minutes |
TimeSpentInSeconds |
DT_I8
|
bigint
|
False |
Defines a time spent in seconds | |
Id |
DT_STR
|
varchar(50)
|
50 | False |
Examples
SSIS
Use Jira Connector in API Source component to read data or in API Destination component to read/write data:
Update rows in Worklogs table using API Destination
This Endpoint belongs to Worklogs table, therefore you cannot work with it directly. Use this table and table-operation pair instead:

ODBC application
Use these SQL queries in your ODBC application data source:
UPDATE Worklog
Updates a worklog
UPDATE Worklogs
SET TimeSpentInSeconds = 28800
,Comment='My Comment!'
,StartedAt='2020-01-23T16:20:30.123+0000'
WITH (IssueIdOrKey='MTK-1', WorklogId='123465', OUTPUT=1, ContinueOn404Error=0)
update_worklog
endpoint belongs to
Worklogs
table(s), and can therefore be used via those table(s).
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
UPDATE Worklog
Updates a worklog
DECLARE @MyQuery NVARCHAR(MAX) = 'UPDATE Worklogs
SET TimeSpentInSeconds = 28800
,Comment=''My Comment!''
,StartedAt=''2020-01-23T16:20:30.123+0000''
WITH (IssueIdOrKey=''MTK-1'', WorklogId=''123465'', OUTPUT=1, ContinueOn404Error=0)';
EXEC (@MyQuery) AT [LS_TO_JIRA_IN_GATEWAY];
update_worklog
endpoint belongs to
Worklogs
table(s), and can therefore be used via those table(s).