Git Product home page Git Product logo

znuny-configitem-serialnumber-postmaster-filter's Introduction

Znuny-ConfigItem-SerialNumber-Postmaster-Filter

Recognize serial number in mail body and set dynamic field config item.

  1. You should have a ticket dynamic field (Config Item) predefined in your system

     E.g: 
     Name: RelatedComputer
     Field Type: Config item (multiselect)
     Config Item Class: Computer
     Config Item Deployment State: Any
     Config Item Link Type: Any
     Config Item Link Source: Any
     
     Name: RelatedHardware
     Field Type: Config item (multiselect)
     Config Item Class: Hardware
     Config Item Deployment State: Any
     Config Item Link Type: Any
     Config Item Link Source: Any
    
     *Advisable to use multi select as this will allow multiple serial number in the email body.
    
  2. Go to Admin > System Configuration > PostMaster::PreFilterModule###5-ConfigItemSNRecognition

    Update the DynamicField section.

     E.g:
     
     RelatedComputer => Computer
     RelatedHardware => Hardware
     
     *where RelatedComputer and RelatedHardware is dynamic field config item name.
     *where Computer and Hardware is Config Item class which the dynamic field belong to.
    
  3. Email example

     From skywalker@localhost  Fri Dec 21 23:59:24 2001
     Return-Path: <[email protected]>
     Received: (from skywalker@localhost)
     	by avro.de (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) id f3MMSE303694
     	for skywalker@localhost; Fri, 21 Dec 2001 23:59:24 +0200
     Date: Fri, 21 Dec 2001 23:59:24 +0200
     From: System Tester I <[email protected]>
     To: helpdesk@localhost
     Subject: Hello wordl
     Message-ID: <20011221002814.A3599@avro>
     Mime-Version: 1.0
     Content-Type: text/plain; charset=us-ascii
     Content-Disposition: inline
     X-Operating-System: Linux 2.4.10-4GB i686
     X-Uptime: 12:23am  up  5:19,  6 users,  load average: 0.11, 0.13, 0.18
     Content-Length: 139
     Lines: 11
     
     This is the first test.
     
     Adios ... 
     
     SerialNumber: 4432TX-312A
     SerialNumber: 80909821
     SerialNumber: 80909822
     
     ok byer
     
     --
     System Tester I - <skywalker@localhost>
     --
     Old programmers never die. They just branch to a new address.
    
  4. If found, the id of the config item will be update into the dynamic field config item. If configured as number 1, ticket will auto link with the Config Item.

ticket-zoom

znuny-configitem-serialnumber-postmaster-filter's People

Contributors

mo-azfar avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.