Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
The Plugin People
Teams
, (opens new window)

Knowledge Base
  • How-to articles
    How-to articles
     This trigger is hidden
Results will update as you type.
  • Enterprise Mail Handler - JEMH - (Server/DataCenter)
    • Auditing History purge does not work with "Retain Failures" enabled (JIRA 7.x)
    • Concurrent mail retrieval resulting in duplicate issue creation
    • Configuration screen won't save updates
    • Creating duplicate issues to multiple projects fails
    • Diagnosing Slow or Stopped Incoming Mail
    • Duplicate issues are created when using JEMH and JIRA Data Center
    • Email client shows encoded attachment name instead of decoded file name
    • Enable Auto Labelling
    • Event Listener JSD issue transition notifications do not send if a comment is present in the transition
    • Exception during issue update validation for non-Service Desk issue
    • File Attachments cause Out Of Memory problems
    • Gmail confidential mode
    • How to supply a default value for the Tempo Account custom field
    • How to support email addresses with international characters
    • Issue fails to create with indexing errors
    • JEMH Is not yet licensed through Atlassian Marketplace
    • JIRA fires Issue Assigned event for newly created Issues
    • Jira Service Desk problems
    • Jira 7 *Wrong JVM Version!* Error
    • JSD Organization field
    • Mail fails to be retrieved from mail server
    • MYSQL exception - Caused by: java.sql.SQLException: Incorrect string value
    • MYSQL Duplicate entry '0'. No Valid License
    • Non-JIRA recipient custom field values have been updated but JEMH is notifying the old values
    • Notification History tab does not show on issues
    • Problems with IMAP
    • Problems with POP
    • Slow Jira startup with PostgreSQL
    • Sorry, you can't create any issues right now, as you need to have access to a JIRA application to be able to create issues
    • You do not have permission to assign issues
    • How to change the event type of a notified event
    • Diagnose no inbound mail handled
    • JSD (Jira Service Desk) - Who is notified when?
    • HTML extraction method to Wiki mark up
    • Setting System Fields using Script Field Processor
    • Test case editor fails to load
    • MessageRemovedException in log files during email processing
    • Characters appearing as question marks
    • UI not visible after upgrading to version 3+
    • Default Project Mapping and unwanted inheritance causing inbound mail to be forwarded
    • JEMH is disabled on startup in Manage Apps
    • Configure JSD Customers for use with JEMH
    • Custom Field values are cached causing recipients to not receive notifications (JIRA 7.3.0 - 7.3.4 , JEMH 2.1.0 - 2.1.11)
    • Restrict commenting to one project
    • Foreign key constraint violation during Audit Event history purge
    • Request participants not sent JEMH notification
    • Handling out of disk space
    • Profile import timeout error
    Calendars
You‘re viewing this with anonymous access, so some content might be blocked.
/
Enable Auto Labelling
Updated Oct 18, 2022

    Enable Auto Labelling

    • 1 Scenario
    • 2 Configuration
      • 2.1 Enable Auto Labelling
        • 2.1.1 Options
      • 2.2 Ignores and Substitutions
        • 2.2.1 Creating an Ignore value
        • 2.2.2 Ignores: Bulk Upload
      • 2.3 Creating a Substitution Value
        • 2.3.1 Substitution: Bulk Upload
    • 3 Test Case Example
      • 3.1 Test Case
      • 3.2 Created Issue
    • 4 Related articles


    Scenario

    You have email, and want to automatically tokenise the subject, labelling the created issue.

    Configuration

    Sub-features:

    • enable/disable creation of new labels, allows for controlled label use

    • ignore some labels

    • perform substitutions from one (provided) value to another

    Enable Auto Labelling

    Edit the Profile you wish to have labelling enabled by going to the JEMH Configuration screen > profiles

    On the right click the three dots to edit that profile.

    Look at the Email > Auto Labelling section, if labelling has not been enabled you will see:

    Edit the Email configuration using the pen icon:

    Press Labels header:

    Options

     

    Auto Labelling Enabled

    Enables automatic labelling

    Can Create Labels

    Enables email to drive dynamic creation of labels

    Auto Add Suggestions

    Use the internal JIRA suggestion framework to add all suggestions for all given tokens (words)

    Add Unique Originals

    (dependent on auto-add) Add any original tokens that are not in final list after adding all suggestions

    Capture Mode

    How to obtain tokens for label creation, current options are Full Subject, Subject after delimiter, and both

    Minimum Label Characters

    Minimum characters a token should have to be considered for labelling

    Maximum Label Characters

    Maximum characters a token should have to be considered for labelling

    Auto Labelling Delimiter

    User definable delimiter for subject, consider this value carefully!



    Save required for ignores/substitutions

    Token ignores and substitutions cannot be done at this time, a save is required. Re-editing will then allow a further level of editing.

    Now, leave the Capture Mode setting as 'Full Subject', tick all the boxes and hit submit.

     

    If you now re-edit the Email section, a new edit area is now available at the end of the Auto Labelling section:

    Ignores and Substitutions

    Clicking the pen icon will now show the configuration for Ignores and Substitutions:

    Creating an Ignore value

    Clicking on 'New Ignored Word' will allow a new value to be entered:

     

    Ignores: Bulk Upload

    There is also a form entry that can be pasted with content, one word per line, as shown below:

    Hit 'submit query' to upload the content, to result in:

    Creating a Substitution Value

    Clicking on 'new substitution' will allow a new substitution value to be entered:

    After saving, the result is shown, illustrating the email provided label candidate and its to-be substitute:

    Substitution: Bulk Upload

    In a similar way to the Ignore bulk upload, the text area in the Substitution section allows key=value entries (one per line) to be inserted and uploaded for en-mass conversion.

    After upload saving, the result will be shown:

    Test Case Example

    Test Case

    Create a TestCase and set the Subject to be:

    Autolabel an example ignoreme server problem yellow color waaaaaytoooooolooooong



    Created Issue

    The created issue shows that:

    • the word 'an' ignored as its too small

    • the word 'waaaaaytoooooolooooong' ignored as its too big

    • the ignores filter 'ignoreme'

    • substitutions replace 'color' for 'colour'

    End of tutorial. Happy labelling!

    Related articles

    • Page:
      Labels
    • Page:
      Using Ignores and Substitutions
    • Page:
      Enable Auto Labelling
    • Blog:
      JEMH 2.2.1 Release Notes
    • Blog:
      JEMH 2.2.0 Release Notes
    {"serverDuration": 10, "requestCorrelationId": "382e649262a7472cb99a8a0614e5fa8e"}