How to Create Bidirectional Connection Between JIRA and 4me to Open Requests or Tickets

Overview

This use case scenario outlines the process of creating a bidirectional connection between JIRA and 4me platforms using Autom Mate platform's webhook feature. The integration allows for the seamless flow of incident and issue data between the two systems, enhancing communication and workflow efficiency.

Actors

  • Autom Mate Platform: Acts as the central hub for webhook connections.

  • 4me: Provides incident management and tracking capabilities.

  • JIRA: Offers issue tracking and project management features.

Goals

  • Main Goal: Establish a bidirectional connection between JIRA and 4me for seamless data exchange.

  • Sub Goals:

    • Configure webhook connection between 4me and Autom Mate.

    • Set up webhook connection between JIRA and Autom Mate.

    • Develop conditional rules in Autom Mate to handle incoming payload data.

Use Case Scenario

Creating Bidirectional Connection between JIRA and 4me

Description

The scenario details the steps to connect JIRA and 4me platforms bidirectionally via Autom Mate platform's webhook functionality. This integration enables the automatic transfer of incident and issue data between the two systems.

Steps

  1. Establishing Connection with 4me:

    • Autom Mate Platform generates a unique webhook URL for connection.

    • Navigate to 4me settings and locate the webhook section.

    • Click on the '+' button to create a new webhook connection.

    • Choose the desired operation to trigger in 4me.

    • Paste the webhook trigger URL from Autom Mate into the designated field.

  2. Receiving Payload Data from 4me:

    • Create an incident in 4me to initiate data transmission.

    • Autom Mate Platform receives the payload data from 4me.

    • Monitor the Autom Mate monitoring page to view the incoming data.

  3. Configuring Connection with JIRA:

    • Utilize the same webhook trigger URL from Autom Mate for JIRA integration.

    • Refer to JIRA documentation for webhook connection setup.

    • Prepare a JSON code to send to JIRA's webhook URL using Autom Mate's Restful Web Service integration.

  4. Handling Payload Data in Autom Mate:

    • Analyze the received payload data from both 4me and JIRA.

    • Identify distinguishing parameters to differentiate the sources.

    • Create conditional rules in Autom Mate based on payload parameters.

      • If JIRA webhookEvent parameter exists, proceed with JIRA actions.

      • Else if 4me payload's source parameter indicates, perform 4me operations.

      • Example Parameters Used:

        • JIRA Payload:

          • webhookEvent: Identifies the type of event triggering the webhook.

        • 4me Payload:

          • source: Indicates the origin of the payload, such as "4me".

  5. Avoiding Duplicate Ticket Creation:

    • Implement additional conditions in Autom Mate to prevent duplicate ticket creation.

      • Check for unique identifiers or tags in the payload data.

      • Create 'if-else if' condition blocks to handle JIRA and 4me data separately.

      • Solution for 4me Ticket Creation in JIRA:

        • When a ticket is created on 4me, append the "Created from 4me" sentence to the JIRA ticket's summary field.

        • Upon receipt of this summary containing "Created from 4me," Autom Mate recognizes it.

        • The conditional rule within Autom Mate ensures that if the data contains this sentence, it will not open a duplicate ticket in 4me.

Alternative Paths

  1. Exception Case - Duplicate Ticket Creation:

    • If duplicate tickets are detected due to loop conditions:

      • Autom Mate Platform can intelligently recognize and handle this situation.

      • Solution:

        • Autom Mate adds the "Created from 4me" sentence to the summary of a JIRA ticket created from a 4me incident.

        • When Autom Mate processes this ticket in the future, it recognizes the sentence.

        • The system avoids creating duplicate 4me incidents by identifying the "Created from 4me" indicator.

        • Administrators or stakeholders are notified of the detected issue and its resolution.

Benefits

  • Streamlined data flow between JIRA and 4me platforms.

  • Automated incident and issue creation without manual intervention.

  • Enhanced workflow efficiency and reduced error rates.

  • Autom Mate Platform: Acts as the central integration point for webhook connections.

  • 4me: Provides incident management capabilities.

  • JIRA: Offers issue tracking and project management features.

Conclusion

The bidirectional connection between JIRA and 4me, facilitated by Autom Mate platform's webhook feature, ensures seamless data exchange and automated workflow processes. By configuring webhook connections, handling payload data intelligently, and preventing duplicate ticket creation, organizations can optimize their incident and issue management workflows effectively.

For detailed instructions on webhook connection setup:

Last updated