Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-9836

As a system, Xray should comply with Jira's issue history guardrail

    XporterXMLWordPrintable

Details

    • Suggestion
    • Status: Gathering Interest
    • Resolution: Unresolved
    • Xray DC V7.4.1
    • None
    • REST API
    • None
    • UNCOVERED

    Description

      In June 2022, Atlassian introduced guardrails for Jira and Confluence, aiming to reduce the impact that the data growth can have on the performance and reliability of a given instance.

      The guardrails for Jira Software include several different areas and entities within the software, but this Suggestion focuses specifically on the topic of "Change history".

      Change history

      Content type Number of changeitems or changegroups associated with an issue
      Guardrail 20,000 changeitems or changegroups
      How to find this number Retrieve issue change history
      Risks We've observed these problems when operating above this guardrail: * Out of memory errors when viewing the History tab.
      • Issue view and other issue actions load slowly.
      • Reindexing takes a long time.
      Mitigation options
      • Use a database query to identify issues with large changeitems and changegroups, then clone the issue, as the history is not copied to the new issue.

      As of now, Xray has many operations that add entries to the issue history, most notably when importing issues via REST API, and those entries can easily surpass the 20,000 mark recommended by Atlassian, and cause performance issues in the long run.

      As a system, Xray should offer the possibility to configure, both Globally and on a project level, what actions should be excluded from logging into issue history.

      Attachments

        Issue Links

          Activity

            People

              helder.ferreira Helder Ferreira
              victor.tisbierek Victor Tisbierek
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: