Hi Team,
Is there a way we can get a notification (not like issue updated notification) when attachment deleted or comment deleted.
TIA!!
If you are a JIRA admin, you can add a generic event. I will suggest you to try it in a test environment first.
Best,
Fadoua
@Tinker Fadoua thank you.
Can we trigger event without a workflow?
We are looking for a notification when every time attachment is deleted.
Thanks,
Ash.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes without making any change at the workflow level.
Go to your Notification Scheme, at the very end you will see "Generic Event" you add the event you are looking to get notified about.
Let me know if you have any additional questions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I see a template for commented deleted.
Do we need to create a template for attachment deleted?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes @Ash add a generic event for attachments deletion. Anytime in the future you need an event that is not available already you add it yourself. Please make sure to don't overwhelm JIRA 😉
Best,
Fadoua
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.
@Tinker Fadoua Thanks for the followup :-)
I'm planning to use this code in the email template.
Will update you once after adding it.
#disable_html_escaping()
#defaultMailHeader("email.event.activity.attachment.deleted", $changelogauthor)
#set ($issueTitleNoTopMargin = true)
#set ($issueTitleBody="#parse('templates/email/html/includes/patterns/issue-title.vm')")
#rowWrapperNormal($issueTitleBody)
#parse("templates/email/html/includes/footer.vm")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ashthe generic event didn't help? Also before making a change to the email template in Production, try it in a Test server first.
Best,
Fadoua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Tinker Fadoua Correct me if i'm wrong.
Generic events can only be fired from transitions as mentioned here https://confluence.atlassian.com/adminjiraserver073/creating-a-notification-scheme-861253478.html?_ga=2.215380511.965870903.1550179680-710762968.1550179680
I don't think we can use generic event fro attachment deleted notification.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ash My apology I am out of the office. Yes they go by transition. Definitely for attachments deletion you won't be able to use Generic Event.
Let me ask you: why don't you remove or grant the attachments and comments deletion from Permission Scheme? Grant them only to people who won't abuse them.
I really apologize I was thinking Permissions when I was the whole time talking about notifications.
Best,
Fadoua
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.