Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Introduction

With Attachment Checker for Jira, it is possible to get send notifications when the user an attachment is added or deleted an attachment.

Step 1: Configure Notification Schemes

...

.

This is useful

  • to decouple separate notification for issue updates vs attachment updates

  • when the issue update notification has been disabled

How to do it

The plugin can fire a configured event when attachment is updated. This event will send out email notification according to the project’s notification scheme.

This can be set up with 3 simple steps

  1. Create a new event

  2. Configure Attachment Checker for Jira to use the event

  3. Configure the notification scheme

Create a new Event

We recommend to add a new Attachment Updated Event that can be used in the notification scheme

  1. Go to Jira Administration > System > Events > Add New Event

    Image Removed

  2. Edit the Notification Schemes for the Attachment added Event

    Image Removed

...

  1. Image Added

Info

It is possible to customise the content of the email notification. Refer to Customizing email content

Configure Attachment Checker for Jira to use the event

  1. Go to Jira Administration > Manage apps > Attachment Checker for Jira > Configure

    Image Removed

    Edit the File Type Blocking for the extensions you want to block

    Image RemovedImage Added

  2. The Attachment Checker Configuration will appear

    Image Added

  3. Go to the Notifications tab and click on the Edit Settings button

    Image Added

  4. Set the Event to Fire to Attachment added event

    Image Removed

...

  1. Updated Event and click Save button

    Image Added

Configure the notification scheme

  1. Go to your Project Settings > Notifications >Check Attachment added Event is present

    Image Removed

  2. Upload a svg file to an issue and you should see the success message

    Image Removed

  3. Upload a png file to an issue and you should see the error message

    Image Removed

    Jira Administration > Issues > Notification schemes

  4. Click on the Notifications action for the selected notification scheme

  5. Click on the Add action for the Attachment Updated Event

  6. Select the people to be notified

Info

For more details, you can refer to Creating a notification scheme