Versions Compared

Key

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

The following steps shows how to configure notification when the user adds an attachment to an issue

...

Create Attachment added Event

...

...

Edit the Notification Schemes for the Attachment added Event

...

...

Introduction

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

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 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

    Set the Extensions you want to block and Error Message

    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

    Updated Event and click Save button

    Image Added

Configure the notification scheme

  1. Go to your Project Settings Jira Administration > Issues > Notification schemes

  2. Click on the Notifications

  3. Check Generic Event is assigned to the you

    Image Removed

  4. Upload a png file to an issue

  5. You should see the error message

    Image Removed

    action for the selected notification scheme

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

  7. Select the people to be notified

Info

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