Affects Version/s: 3.2.1
Fix Version/s: 3.2.3
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.
- 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)
- 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.