Get Project Workflow List and Task Counts

[ez-toc]

Get Project Workflow List and Task Counts

This API endpoint provides you with a list of all workflows within your project, along with the total number of tasks assigned to each workflow. With this information, you can gain valuable insights into the distribution of tasks within your project and make informed decisions to optimize your workflow.

Endpoint

https://api.gitscrum.com/projects-workflows/stats/?project_key=KEY&api_id=ID

Method

GET

Authentication

API ID and Project KEY are required for authentication.

Parameters

None

Example Response

{
    "data": [
        {
            "id": 1,
            "title": "Todo",
            "color": "#3c78d8",
            "tasks": 29
        },
        {
            "id": 2,
            "title": "Ready to do",
            "color": "#9fc5e8",
            "tasks": 10
        },
        {
            "id": 3,
            "title": "In Progress",
            "color": "#cc0000",
            "tasks": 4
        },
        {
            "id": 4,
            "title": "Repeat Every Weekend",
            "color": "#1c4587",
            "tasks": 7
        },
        {
            "id": 5,
            "title": "Archived",
            "color": "#20124d",
            "tasks": 4
        },
        {
            "id": 6,
            "title": "Done",
            "color": "#16a765",
            "tasks": 1
        }
    ]
}

Note

Ensure that you securely store and protect your API ID and Project KEY, as they are required for authentication.