Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-2547

Inline Edit Behaviours javascript is sending excessive requests to validators.json

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.2.1
    • Fix Version/s: 5.4.0
    • Component/s: Behaviours
    • Labels:
    • Critical Points:
      0.6

      Description

      The inline edit feature for Behaviours can cause a large number of redundant requests to the validators.json endpoint when viewing issues via a JQL search (e.g. <jira base url>/issues/KEY-123?jql= where KEY-123 is an issue key). Because cacheing is disabled, each request has to complete. This happens every time you use the arrows to navigate the results up or down (or use the j/k keyboard shortcuts).

      If you disable the ScriptRunner module Behaviour inline edit issue assets (bh-inlineEditPluginResources), browser CPU usage goes down by about half during issue switching and the requests go away. The performance impact is worse when there are larger numbers of issues in the queue.

        Attachments

          Activity

            People

            Assignee:
            jdavis Jenna Davis
            Reporter:
            jcarter Jonny Carter
            Votes:
            5 Vote for this issue
            Watchers:
            10 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: