Comments

5 comments

  • Andreas Garnæs

    Hi Flow,

    Could you provide an example response and how you would expect it to be different please?

    Thanks,
    Andreas

    0
    Comment actions Permalink
  • Flow XO

    Hi Andreas,

    Could you please take a look to these json files:

    https://drive.google.com/open?id=0B_jBvlj_9Xmvb2NJeGdwUi1JajA
    https://drive.google.com/open?id=0B_jBvlj_9XmvSGVKUm1yTi0xaVk

    In short, the files contain the response in desc and asc order respectively.

    For example, in the desc file, for the 'created_on' field, the order is:

    "created_on":"2015-05-26 09:20:45"
    "created_on":"2015-05-26 09:20:47"
    "created_on":"2015-05-26 09:20:45"
    "created_on":"2015-05-26 09:20:45"
    "created_on":"2015-05-26 09:20:47"
    ...
    "created_on":"2015-05-26 09:20:52"
    "created_on":"2015-05-26 09:20:45"
    ...
    etc.

    What I'm trying to do is for the response to return in desc chronological order ignoring their priority (groupings):

    "created_on":"2015-05-26 09:20:45"
    "created_on":"2015-05-26 09:20:45"
    "created_on":"2015-05-26 09:20:45"
    "created_on":"2015-05-26 09:20:47"
    "created_on":"2015-05-26 09:20:47"
    "created_on":"2015-05-26 09:20:52"
    ...
    etc.

    By the way, that's another issue we are having, all create_on values are from the same date (2015-05-26). What could be the reason for this?

    Many thanks.

    0
    Comment actions Permalink
  • Andreas Garnæs

    I think you're confusing the created_on for the ref with the created_on for the task (which is not present in the JSON response you've included). Could you try add view=full to the query parameters for the API call to get created_on for the task?

    0
    Comment actions Permalink
  • Flow XO

    Andreas,

    Thanks, view=full did it with created_on. But what about the order, overdue tasks still come first, how can ignore the grouping?

    Thanks again.

    0
    Comment actions Permalink
  • Andreas Garnæs

    Hi Flow,

    Sorry for the late reply, I've been away for two weeks. Could you share the new JSON response please to verify the tasks are not sorted by created_on of the tasks?

    Thanks,
    Andreas

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk