Similar to how the API exposes the number of failing branches or PR's, we also want to expose the number of jobs that are currently running and queued. Property names can be whatever we like, perhaps "numberOfRunningJobs" and "numberOfQueuedJobs" would work?
This will allow the UI to represent the overall state of a Pipeline more accurately, since "latestRun" can be ambiguous when multiple runs of the same pipeline are occurring.
|Sprint||1.0-beta-1 [ 96 ]|
|Priority||Minor [ 4 ]||Blocker [ 1 ]|
|Priority||Blocker [ 1 ]||Critical [ 2 ]|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Status||In Progress [ 3 ]||In Review [ 10005 ]|
|Resolution||Fixed [ 1 ]|
|Status||In Review [ 10005 ]||Resolved [ 5 ]|