est il possible d'automatiser la suppression de toutes les pièces jointes une fois que le client ferme le ticket
si oui comment procéder pour activer cette option svp?
Bonjour @Eya BEN OTHMEN ,
C'est possible de le faire, par contre, ça nécessite une extension qui permet de créer des scripts, par exemple Scriptrunner :
https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?hosting=cloud&tab=overview
Il suffit de créer un Script Listener et d'utiliser un code similaire au suivant :
import com.atlassian.jira.component.ComponentAccessor def attachmentManager = ComponentAccessor.getAttachmentManager() attachmentManager.getAttachments(issue).attachments.each { attachmentManager.deleteAttachment(it) }
J'espère que ça répond bien à ta question, laisse moi savoir si tu as besoin d'aide pour la suite!
JT
Merci pour votre réponse,
si vous pouvez m'assister svp, comment faire?
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.