Endpoint Delete Worklog
Name
delete_worklogs
Description
Related Tables
Parameters
| Parameter | Required | Options | 
|---|---|---|
| Name: Label: IssueIdOrKey | ||
| Name: Label: WorklogId | 
Output Columns
| Label | Data Type (SSIS) | Data Type (SQL) | Length | Description | 
|---|---|---|---|---|
| Response | DT_NTEXT | nvarchar(MAX) | 
Input Columns
| Label | Data Type (SSIS) | Data Type (SQL) | Length | Description | 
|---|---|---|---|---|
| Id | DT_WSTR | nvarchar(4000) | 4000 | 
Examples
SSIS
Use Jira Connector in API Source or in API Destination SSIS Data Flow components to read or write data.
API Source
| Optional Parameters | |
|---|---|
| IssueIdOrKey | |
| WorklogId | |
| Continue On 404 Error (When record not found) | False | 
 
API Destination
This Endpoint belongs to the Worklogs table, therefore it is better to use it, instead of accessing the endpoint directly. Use this table and table-operation pair to delete worklog:
| Optional Parameters | |
|---|---|
| IssueIdOrKey | |
| WorklogId | |
| Continue On 404 Error (When record not found) | False | 
 
ODBC application
Use these SQL queries in your ODBC application data source:
DELETE Worklog
Deletes a single worklog of an issue
DELETE FROM Worklogs
WITH (IssueIdOrKey='10020', WorklogId='123465', OUTPUT=1, ContinueOn404Error=0)
                delete_worklogs 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:
DELETE Worklog
Deletes a single worklog of an issue
DECLARE @MyQuery NVARCHAR(MAX) = 'DELETE FROM Worklogs
WITH (IssueIdOrKey=''10020'', WorklogId=''123465'', OUTPUT=1, ContinueOn404Error=0)';
EXEC (@MyQuery) AT [LS_TO_JIRA_IN_GATEWAY];
                delete_worklogs endpoint belongs to
                    Worklogs
                table(s), and can therefore be used via those table(s).
            
 
            