Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-44115

Need longtask REST API to return most recent data first

    XMLWordPrintable

Details

    • 1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? See the corresponding suggestion.

      Problem

      There are some points that could be enhanced on longtask REST API call:

      https://docs.atlassian.com/atlassian-confluence/REST/latest/#longtask-getTask

      There seems to be a number of problems with this API

      1. There is no timestamp
      2. The data returned seems to be randomly ordered in terms of time it was generated - I am inferring the time from the message generated
      3. One would expect the data to be Last in First out or at least an option for that
      4. The documentation doesn't indicate how/when tasks expire and are no longer are retrievable. More specifically, if I am looking through the list for specific types of entries, how do I know when to stop looking through the list?
      5. The API does not have a field to indicate how may total tasks there are in the total list like most APIs like this.

      Suggestion:
      Implement the features request above in the rest api call

      Example of call:
      https://pece.atlassian.net/wiki/rest/api/longtask

      {"results":[],"start":0,"limit":100,"size":0,"_links":{"self":"https://pece.atlassian.net/wiki/rest/api/longtask","base":"https://pece.atlassian.net/wiki","context":"/wiki"}}

      Workaround:
      None

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pmiguel Paulo Miguel (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: