Enable client side filtering and sorting of messages

Scenario

Perhaps with a mail client like Outlook, in which case, filtering inbound emails is a challenge.  What's required is for emails to contain the critera that can be filtered.

In JEMHCloud 1.0.135+ Mail Headers can be configured so that client side sorting becomes possible:

Configuring JEMHCloud

Separate configurations are possible for JIRA and Email users, allowing tailored headers for different audiences.

 Step-by-step guide

Configure your notification mapping allowing JEMHCloud to populate email headers with data from issues.

  1. Go To Notifications -> Email -> Cog Icon -> Edit

  2. Select the JIRA fields you want to add to notifications. Different headers can be sent to JIRA and Email users.

  3. Submit

Supported Headers

The field list is loaded from your JIRA instance's metadata allowing all fields to be used. Standard and custom fields have been tested. Third party add-ons may add new fields. If these fields are not populated correctly, please send us an email to support@thepluginpeople.com. Examples of mail headers:

X-JEMHC-DATA-AGGREGATETIMEESTIMATE: 18000 X-JEMHC-DATA-AGGREGATETIMEORIGINALESTIMATE: 36000 X-JEMHC-DATA-ASSIGNEE: admin X-JEMHC-DATA-ATTACHMENT: attachment_1.png,attachment_2.jpg X-JEMHC-DATA-CREATED: 2015-03-17T20:35:14.662+0800 X-JEMHC-DATA-CREATOR: admin X-JEMHC-DATA-CUSTOMFIELD_10000: custom field value X-JEMHC-DATA-DESCRIPTION: A multiline description line 1 line 2 X-JEMHC-DATA-DUEDATE: 2015-03-19 X-JEMHC-DATA-ENVIRONMENT: the environment X-JEMHC-DATA-FIXVERSIONS: 1.0.1 X-JEMHC-DATA-ISSUEKEY: JC-25 X-JEMHC-DATA-ISSUETYPE: Bug X-JEMHC-DATA-LABELS: one,two,three,labels X-JEMHC-DATA-PRIORITY: Major X-JEMHC-DATA-PROJECT: JC X-JEMHC-DATA-REPORTER: admin X-JEMHC-DATA-RESOLUTION: Fixed X-JEMHC-DATA-RESOLUTIONDATE: 2015-03-17T20:43:15.603+0800 X-JEMHC-DATA-STATUS: Resolved X-JEMHC-DATA-SUMMARY: This is a bug X-JEMHC-DATA-TIMEESTIMATE: 18000 X-JEMHC-DATA-TIMEORIGINALESTIMATE: 36000 X-JEMHC-DATA-TIMETRACKING: {"originalEstimate":"1d 2h","remainingEstimate":"5h","originalEstimateSeconds":36000,"remainingEstimateSeconds":18000} X-JEMHC-DATA-UPDATED: 2015-03-17T20:35:14.662+0800 X-JEMHC-DATA-VERSIONS: 1.0.0,1.0.1 X-JEMHC-DATA-WATCHES: admin X-JEMHC-DATA-WORKRATIO: 0

Configuring Outlook



A mailing list you are subscribed to has recently been hit by a sudden surge of e-mail postings. Unfortunately, this list doesn't appear to include any way of distinguishing the messages from other mail. The subject isn't modified, the "From:" field always appears as the original sender rather than the list, and the "To:" field is always your own e-mail address.

Viewing the full headers of the message reveals something, however. (To view all of the headers, select View | Options... while reading the message.) The messages from this mailing list includes the header:

X-List-Remailer: i-list@heron.com

The following example moves all e-mail messages that contain the above header into a mail folder called "FilteredMessages".

1. Select File | Rules and Alerts

2. Click on the New Rule button

3. In the "Step 1: Select a template" box, under the"Start from a blank rule" section, select Apply rules on messages I receive

4. Click Next

5. In the "Which conditions do you want to check?" box, scroll down until you see withspecific words in the message header

6. Check the box to the left of with specific words in the message header

7. In the "Edit the Rule Description" box below, click on specific words

8. In the "Specify words or phrases to search for in the subject" window, type the exact match for the header you wish to filter, for example:
X-List-Remailer: i-list@heron.com
(This match is case sensitive for both the header name and the text.)

9. Click Add, then OK. 

10. Click Next

11. Check the box to the left of the action you wish to perform upon this message. In this example, select move it to the specified folder, in the "What do you want to do with the message?" box

12. In the "Edit the Rule Description :" box below, click on specified

13. In the "Choose a folder:" box, select an already existing folder or create a new one. For this example, select Mailbox - Your Name and click New

14. In the Name: field, type FilteredMessages

15. Click OK

Related articles