Hi Team,
My task is to delete attachments from closed Jira issues, but when I delete the attachments it notifies the watchers.
Is there a way to remove watchers from the Jira issues before removing the attachments? More than 2.5k issues are there. Removing from UI is not feasible. I am using curl invocations to get the attachment id and delete the attachments.
If you are using REST API, you need to use the DELETE method on the watchers resource to remove watchers from an issue. Have you tried it ?
@Kishan Sharma but I don't want to lose the contact person for the specific issues. Just wanted to delete the attachments.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
May be you can store the watcher in a variable first. Then remove the watcher from the page, delete the attachment, and lastly re-add the watcher (which you have it in variable as a first step)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you have the app Automation for Jira, you can automate both the removal of watchers and deletion of attachments.
There are action components for "Manage watchers" and "Delete attachments".
I've got implementations for removal of attachments, and that works like a charm.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Yash Gupta,
Please refer below link
https://jira.atlassian.com/browse/JRASERVER-70354
This bug is reported with Atlassian. It is still pending.
As suggested in work around, you can try by changing notification schema.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sreenivasaraju P ,
Can you please explain what does changing notification schema means and how to use it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.