Batch edit on Links or Attachment
Hello,
Is there a way to remove links or attachments from a large numbers of items. We performed a JIRA sync, and included the JIRA location of the items. However, now we want to remove them as it is not necessary.
Batch edit does not allow that. Is there any other way than manually performing it?
------------------------------Slawomir Suchy
------------------------------
Comments
-
Hi Slawomir,
why don't you try to write a REST API script for this.
Get the affected items via advanced filter (GET /filters/{filterId}/results), then delete the attachments (DELETE /items/{id}/attachments/{attachmentId}) or links (DELETE /items/{id}/links/{linkId}).
Best regards,
------------------------------
Alessandro
Systems Engineer
SICK AG
------------------------------
-------------------------------------------
Original Message:
Sent: 02-09-2023 23:27
From: Slawomir Suchy
Subject: Batch edit on Links or AttachmentHello,
Is there a way to remove links or attachments from a large numbers of items. We performed a JIRA sync, and included the JIRA location of the items. However, now we want to remove them as it is not necessary.
Batch edit does not allow that. Is there any other way than manually performing it?
------------------------------
Slawomir Suchy
------------------------------
Alessandro
Systems Engineer
SICK AG0 -
Thank you. This is a good idea, and I will look into it for the future.
------------------------------
Slawomir Suchy
------------------------------
-------------------------------------------
Original Message:
Sent: 02-10-2023 00:50
From: Alessandro Valli
Subject: Batch edit on Links or AttachmentHi Slawomir,
why don't you try to write a REST API script for this.
Get the affected items via advanced filter (GET /filters/{filterId}/results), then delete the attachments (DELETE /items/{id}/attachments/{attachmentId}) or links (DELETE /items/{id}/links/{linkId}).
Best regards,
------------------------------
Alessandro
Systems Engineer
SICK AG
------------------------------
Original Message:
Sent: 02-09-2023 23:27
From: Slawomir Suchy
Subject: Batch edit on Links or AttachmentHello,
Is there a way to remove links or attachments from a large numbers of items. We performed a JIRA sync, and included the JIRA location of the items. However, now we want to remove them as it is not necessary.
Batch edit does not allow that. Is there any other way than manually performing it?
------------------------------
Slawomir Suchy
------------------------------
0