Deleting unwanted attachments from an issue

Summary

Sometimes issues collect a bunch of unwanted attachments, especially when automatically added by the email handler. This is a quick way to remove a subset of attachments quickly with a regex statement. Be careful (smile).

Steps

atlassian jira --action runFromAttachmentList --issue XXX-123 --regex "image.*" --common "-a removeAttachment --issue @issue@ --id @attachmentId@"

Requirements

 

 


Find answers from the community.

Ask a question to the community.

Log a request with our support team.

Confluence®, Jira®, Atlassian Bamboo®, Bitbucket®, Fisheye®, and Atlassian Crucible® are registered trademarks of Atlassian®
Copyright © 2005 - 2024 Appfire | All rights reserved. Appfire™, the 'Apps for makers™' slogan and Bob Swift Atlassian Apps™ are all trademarks of Appfire Technologies, LLC.