Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-532

JQL query in SLA threshold breached trigger can often timeout

    XMLWordPrintable

Details

    • Severity 2 - Major
    • 2,803

    Description

       

      Product Update - 28th June 2023
      Hi folks,
      Thank you for your patience on this issue. Long term fix for this issue has been implemented and will be gradually rolled out in the coming weeks. 

       

      Product Update - 18th Jan 2023
      Hi folks,
       
      This request is now under development. I will share an update on the timelines once we have it. 
       
      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  
      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:
              346 Vote for this issue
              Watchers:
              312 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: