Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-9875

SLA threshold based trigger fail with SocketException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Medium
    • Automation, SLA
    • None

    Description

      Issue Summary

      The SLA trigger can often timeout when performing a JQL query to see which issues had past the given threshold. This prints the error SocketException: Socket closed to the audit log.

      Steps to Reproduce

      1. Setup up an Automation rule
      2. Use SLA threshold based trigger
      3. Publish the rule

      Expected Results

      The trigger should work consistently. A retry mechanism should be in place whenever the trigger fails.

      Actual Results

      The trigger may face a timeout when performing a JQL query to see which issues had past the given threshold.

      The below exception is thrown in the audit log

      Error running JQL search to find issues breaching SLA
      ------ SocketException : Socket Closed
      

      Workaround

      • Create a custom field called "sla_breached" and configure it on the service project.
      • Setup a legacy automation rule, whenever the sla breaches and edit the custom field sla_breached ant set any value.
      • Setup a new automation rule, whenever the sla_breached field changes, execute the required action.

      Attachments

        Issue Links

          Activity

            People

              8a3861d8a88c Manas Shukla
              rmacalinao Ramon M
              Votes:
              15 Vote for this issue
              Watchers:
              37 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: