Delete comment after adding on automation

Suporte JRetail
Contributor
September 1, 2023

Hi,

How can I delete a comment that was made by a automation and then delete it in the same automation, example in the print. I need to delete it or find a way to get the comment ID and make other automation to delete it with the comment IDScreenshot_44.png

1 answer

0 votes
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 1, 2023

Hi,

Before the last action try to re-fetch the data of the issue and then try to get the id of the last comment like this

{{issue.comments.last.id}}

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--issue.comments--

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events