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
Open Time to SLA, and navigate to the TTS - API Token tab.
Create an API Token with the necessary permissions. If you don’t know how, refer to this document.
Copy the generated token.
Step 2: Create a New Credential in EIS
Open Easy Integrations, and navigate to the Credential tab.
Create a new credential.
Choose Bearer as the Authorization Type.
Paste the copied API token.
Step 3: Create a Listener in EIS
Navigate to the EIS - Listener tab.
Go to the Events section.
Add the Comment Created event to your event selection.
Move to the Actions section.
Step 4: Configure actions
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.
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.
Complete the listener creation process.
Step 5: Use the Integration
Got to an issue within the system.
Add a comment to initiate the integration.
Script Console:
Â