Can I delete a comment via Automation for Jira?

Michael Clinton February 9, 2017

When a particular user comments on an issue, I'd like to delete the comment they made. Is this possible?

It sounds weird, but here's the situation: The JIRA-Gitlab integration is nice because it puts all commit messages as linked issues.

However, it also adds a comment for EVERY SINGLE COMMIT. That spams our watchers via email and clogs up the comments field and makes it hard to find valuable comments.

The below image shows my setup, but on the final component I don't see an option to delete the comment.

Screen Shot 2017-02-09 at 4.49.01 PM.png

1 answer

0 votes
QuentinB
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 9, 2017

Hello, the possibility to delete a comment with automation in Service desk is not existing.
Sadly it's also not possible with plugin *Automation for JIRA*
But even if you succeed to delete comment, the comment is created so event Issue Commented is launch and watcher will receive email anyway 

andreas
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 9, 2017

Yep absolutely right.  I've raised https://codebarrel.atlassian.net/browse/AUT-165 to track adding a 'Delete comment' action in automation for JIRA now, but yes this would run after the comment was created in the first place, so JIRA would still send the notification.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events