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

JQL query in SLA threshold breached trigger can often timeout

    XMLWordPrintable

Details

    Description

      Product Update - 9th Nov 2022
      Hi folks,
       
      This request has been prioritised and would soon be picked up by our development team. Once we have a timeline, I'll update it here.
       
      If you are facing difficulty setting up SLAs (due to limits, conditions, goals etc.) and would be interested in talking to product team and provide feedback, you can book a slot using this link.
       
      https://calendly.com/manas-atlassian/30-min-customer-meeting  

      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 (Besides the error 'SocketException: Socket closed' the audit log can also print the errors: 'Service Unavailable' and 'Internal server error').

      • Current implementation relies on polling - product teams should look at using native events instead to improve reliability
      • Attempting to retry queries in the case of timeout to minimise errors might be a short term option

      Steps to Reproduce

      1. Ensure that the test site has a lot of data/issues/projects
      2. Configure an automation rule with a SLA threshold breached trigger - allow the rule to run

      Expected Results

      • Rule runs without issues

      Actual Results

      • Rule randomly fails with "SocketException: Socket closed"(or similar) message
      • The rule query fails due to timeout

      Workaround

      • Use the legacy automation rules - "SLA time remaining" trigger can be used:

      Attachments

        Issue Links

          Activity

            People

              8a3861d8a88c Manas Shukla
              dnguyen4 Derrick Nguyen
              Votes:
              194 Vote for this issue
              Watchers:
              162 Start watching this issue

              Dates

                Created:
                Updated: