// resourceCommentDelete deletes jira comment using the jira api
resourceCommentDelete deletes jira comment using the jira api
// resourceCommentDelete deletes jira comment using the jira api
func resourceCommentDelete(d *schema.ResourceData, m interface{}) error {
	config := m.(*Config)
	issueKey := d.Get("issue_key").(string)
	id := d.Id()
	err := config.jiraClient.Issue.DeleteComment(issueKey, id)
	if err != nil {
		return errors.Wrapf(err, "deleting jira comment failed")
	}
	return nil
}
func resourceCommentDelete ( d * schema . ResourceData , m interface { } ) error { config := m . ( * Config ) issueKey := d . Get ( " " ) . ( string ) id := d . Id ( ) err := config . jiraClient . Issue . DeleteComment ( issueKey , id ) if err != nil { return errors . Wrapf ( err , " " ) } return nil }
resourceCommentDelete deletes jira comment using the jira api
resourceCommentDelete deletes jira comment using the jira api