Can I delete a comment via Automation for Jira?

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

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 Knecht Community Champion Feb 09, 2017

Yep absolutely right.  I've raised 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
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

457 views 8 27
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you