Issue Details (XML | Word | Printable)

Key: JRA-14983
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Erling Wegger Linde
Votes: 3
Watchers: 4
Operations

If you were logged in you would be able to see more operations.
JIRA

Fetch only updated or changed issues

Created: 20/May/08 01:48 AM   Updated: 22/Jun/08 04:42 AM
Component/s: Performance, Remote API (SOAP & XML-RPC)
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Participants: Erling Wegger Linde and Igor Sereda
Since last comment: 16 weeks ago
Labels:


 Description  « Hide
In order to be able to cache issues, and improve performance I need to fetch a list (of either id's or issues themselves) that are either deleted or updated since the last time I checked this. I would like to provide a date/time as an argument of course.

A method: String[] getIssueIdsForProject(String token, String[] projectKeys, String searchTerms, Date changedSince, int maxNumResults) would be sufficient I think. I could then try to fetch the new issues one by one, if some are deleted, I guess I will find out.

Another altertative would be: String[] getIssueIdsForProject(String token, String[] projectKeys, String searchTerms) plus RemoteIssue[] getIssuesForProject(String token, String[] projectKeys, String searchTerms, Date changedSince, int maxNumResults). Hence you can use the first method to figure out if some issues have been deleted. And then use the second method to get all the updated issues. This is probably a better solution?



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Erling Wegger Linde added a comment - 20/May/08 01:49 AM
See forum discussion for additional information: http://forums.atlassian.com/thread.jspa?threadID=25693&tstart=0

Igor Sereda added a comment - 22/Jun/08 04:42 AM
Isn't this request a specific case of JRA-7626?