Uploaded image for project: 'Atlassian Connector for Eclipse (discontinued)'
  1. Atlassian Connector for Eclipse (discontinued)
  2. PLE-1516

Performance improvement - get all data with jql search instead of separate calls for every issue

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.2.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Unfortunately it is not possible to get all issue data in one jql call before JIRA 5.2.6 because of this bug: https://jira.atlassian.com/browse/JRA-31418
      Older versions does not allow to expand issue details for JQL search (editmeta expando does not work).
      We would need to handle older JIRA versions separately but it would be a maintenance overhead.

      Other solutions:

      1. only JQL call (no separate issue call) and grab as much data as we can during search and retrieve details when issue is being opened (we would need to check if missing data is OK for the TaskList - we miss transitions and editmeta)
      2. JQL call and separate issue call but only first time when details are missing (subsequent call will ask only for JQL results and no separate issue calls), fresh issue details retrieved when issue is being opened

      Wrt 1, unfortunately it does not work because partial issue is considered as different than full issue and Mylyn marks it as changed (not read marker on the Task List and "issue changed" marker in the Issue Editor).

      Wrt 2, it could be difficult because we build issue object every time it is retrieved. It would require non trivial changes.

      My current proposal: get issues in bulk with jql search and if they lack edit meta (for JIRA prior to 5.2.6) then get details with separate call (one per issue as it is in current implementation).
      That is quite easy to implement and we will reduce performance significantly for JIRA 5.2.6 and newer.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jjaroczynski Jacek Jaroczynski
              • Votes:
                3 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Who's Looking?