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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Apr 10, 2018 in Marketplace Apps

Learn about how Stefan K. built one of the *first ever* Marketplace apps

In this post you will discover more about the evolution of K15t software, some big topics they're currently focusing on in the app space, and a rare (not not funny!) photo of founders Mike Cannon-Bro...

12,565 views 11 24
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