Time to SLA Integration

This integration offers a seamless solution to automate the monitoring and management of SLAs within your workflow, empowering your team to act promptly, and ensuring that SLA-related tasks are addressed efficiently and in compliance with predefined service standards.

In this example, we will show you how you can integrate Easy Integrations and Time to SLA to receive notifications when an SLA is closed after a comment is added to an issue.

Example: Notification on Closing SLAs When a Comment is Made

Step 1: Step up the TTS API Token

  1. Open Time to SLA, and navigate to the TTS - API Token tab.

  2. Create an API Token with the necessary permissions. If you don’t know how, refer to this document.

  3. Copy the generated token.

Step 2: Create a New Credential in EIS

  1. Open Easy Integrations, and navigate to the Credential tab.

  2. Create a new credential.

  3. Choose Bearer as the Authorization Type.

  4. Paste the copied API token.

Step 3: Create a Listener in EIS

  1. Navigate to the EIS - Listener tab.

  2. Go to the Events section.

  3. Add the Comment Created event to your event selection.

  4. Move to the Actions section.

Step 4: Configure actions

  1. Create a Call Rest API action.

    • Add the "issueId" property to the action parameters.

    • Put the "get issue SLA" URL into the URL section.

    • Choose the GET method.

    • Use the previously created credential.

    • Add the action.

  2. Create a Send E-Mail action.

    • Write a script to determine the email subject.

    • Write a script to return closing SLAs.

    • Assign the issue's assignee as the recipient.

    • Add the action.

  3. Complete the listener creation process.

Step 5: Use the Integration

  1. Got to an issue within the system.

  2. Add a comment to initiate the integration.

Script Console: