Uploaded image for project: 'Evergreen'
  1. Evergreen
  2. EVG-15878

Return all task stats in a single call

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: app
    • Labels:
      None

      Description

      the `project/asdf1234/task_stats` endpoint currently requires you to list out the tasks for which you want stats. so if you just want all of the tasks, you have to query EVG for all of the tasks and then return them back in this query. so there's a workaround, but it just feels like we're pulling data out of evergreen only to give it right back to evergreen - would be nice if EVG could handle this for us.

      no strong opinion on interface - maybe leaving the field blank returns all task stats?

      ref https://mongodb.slack.com/archives/C0V896UV8/p1635891472222800 for mostly the same information.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-evg Backlog - Evergreen Team
            Reporter:
            ian.whalen Ian Whalen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: