-
Bug
-
Resolution: Unresolved
-
Medium
-
10
-
Minor
-
1
-
Issue Summary
Deleting the attachment via Automation or Rest API does not remove the reference from comments
Steps to Reproduce
- Create an issue in a project.
- Add an attachment to this ticket, this will end up adding a comment with the attachment.
- Add an Automation rule in this project and configure this rule to Delete the Attachment from the ticket.
- Or you can use Delete Issue Attachment API to delete an Attachment.
- Or you can manually delete the attachment from the ticket.
Expected Results
The attachment is deleted and its reference from the comment is also removed.
Actual Results
The attachment is deleted, but its reference from the comment is not removed.
The comment shows: "Preview not available" or "Failed to load" error.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available.
We have to remove the reference manually from the comment.