Create Event Handler

To register an Event Handler, do this:

  1. Select Event Handler Registry in the "Teamworkx Connector" section in the app configuration.
    The "Event Handler" dialog is displayed.


  2. Select Create Handler to create a new Handler.
  3. Enter the following information:
    1. Account ID: Select the account you want to use for this event.
    2. Project: The project this event handler belongs to.
    3. IssueType: The issue type this event handler belongs to.
    4. Event Pattern: The type of Jira event that triggers this handler. Patterns are
      1. ISSUECREATED
      2. ISSUEUPDATED
      3. ISSUEDELETED
      4. WORKLOGCREATED
      5. WORKLOGUPDATED
      6. WORKLOGDELETED
      7. COMMENTCREATED
      8. COMMENTUPDATED
      9. COMMENTDELETED
      10. ATTACHMENTCHANGED
      11. ISSUEMOVED
      12. TRANSACTIONERROR
    5. Event: The specific Jira event that triggers this handler
    6. Activity: Currently only CALLBACK is available.
    7. Customer Reference: Customer specific identifier
    8. Mode: specifies if the handler is executed scheduled (async) or direct (sync)
    9. Path: The REST path that is called when the handler conditions matches
    10. Method: The request method. Supported are GET, PUT, POST, DELETE.
    11. Body: The body you want to have send to you (normally a JSON object). The Teamworkx Connector can add data of the issue or the event to your JSON object. For more information go here
  4. Click Save.



You can also register Event Handler via Rest API. Do the following steps: