Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-14983

Fetch only updated or changed issues

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 4.0
    • None
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            f341b2b09edf Erling Wegger Linde
            Votes:
            8 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: