Jira Connector
Documentation
Version: 11
Documentation
Endpoint

Delete Issue Comment


Name

delete_comment

Description

No description available

Related Tables

Comments

Parameters

Parameter Label Required Options Description
IssueIdOrKey IssueId Or Key YES
CommentId Comment Id YES

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
Response DT_NTEXT nvarchar(MAX) False
If the column you are looking for is missing, consider customizing Jira Connector.

Input Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
Id DT_WSTR nvarchar(4000) 4000 False
IssueId DT_WSTR nvarchar(4000) 4000 False
Required columns that you need to supply are bolded.

Examples

SSIS

Use Jira Connector in API Source component to read data or in API Destination component to read/write data:

Delete rows from Comments table using API Destination

This Endpoint belongs to Comments table, therefore you cannot work with it directly. Use this table and table-operation pair instead:

Jira
Comments
Delete
SSIS API Destination - Access table operation

ODBC application

Use these SQL queries in your ODBC application data source:

Delete issue comment

SELECT * FROM delete_comment
WITH
(
    "IssueIdOrKey" = 'abcd-1234-issueidorkey',
    "CommentId" = 'abcd-1234-commentid'
)

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 issue comment

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM delete_comment
WITH
(
    "IssueIdOrKey" = ''abcd-1234-issueidorkey'',
    "CommentId" = ''abcd-1234-commentid''
)';

EXEC (@MyQuery) AT [LS_TO_JIRA_IN_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).