Endpoint Delete Issue Comment
Name
delete_comment
Description
Related Tables
Parameters
Parameter | Required | Options |
---|---|---|
Name:
Label: IssueId Or Key |
YES | |
Name:
Label: Comment Id |
YES |
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 | |
IssueId |
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
Required Parameters | |
---|---|
IssueId Or Key | Fill-in the parameter... |
Comment Id | Fill-in the parameter... |
Optional Parameters | |
Continue On 404 Error (When record not found) | False |

API Destination
This Endpoint belongs to the Comments table, therefore it is better to use it, instead of accessing the endpoint directly. Use this table and table-operation pair to delete issue comment:
Required Parameters | |
---|---|
IssueId Or Key | Fill-in the parameter... |
Comment Id | Fill-in the parameter... |
Optional Parameters | |
Continue On 404 Error (When record not found) | False |

ODBC application
Use these SQL queries in your ODBC application data source:
Delete an exising Comment
This example deletes an exising comment for a given Issue Id and Comment Id. You can use Issue Key or Id as an input value.
DELETE FROM Comments WHERE Id=10004 WITH(IssueIdOrKey='CS-2')
delete_comment
endpoint belongs to
Comments
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 an exising Comment
This example deletes an exising comment for a given Issue Id and Comment Id. You can use Issue Key or Id as an input value.
DECLARE @MyQuery NVARCHAR(MAX) = 'DELETE FROM Comments WHERE Id=10004 WITH(IssueIdOrKey=''CS-2'')';
EXEC (@MyQuery) AT [LS_TO_JIRA_IN_GATEWAY];
delete_comment
endpoint belongs to
Comments
table(s), and can therefore be used via those table(s).