Get Project Team Members and Project Task Allocations by Workflow

[ez-toc]

Get Project Team Members and Task Allocations by Workflow

This API endpoint allows you to retrieve a list of all project team members along with the number of tasks assigned to each member, organized by workflow. With this information, you can gain a clear understanding of the distribution of tasks within your project and make informed decisions to keep your workflow running smoothly.

Endpoint

https://api.gitscrum.com/project-team-allocations/?project_key=KEY&api_id=ID

Method

GET

Authentication

API ID and Project KEY are required for authentication.

Query Parameters

None

Example Response

{
    "data": [
        {
            "user": {
                "name": "Renato Marinho",
                "headline": "Founder & CEO at GitScrum",
                "username": "renato.marinho",
                "avatar": "https://gitscrum-storage-avatars.s3.amazonaws.com/b9467bcfd59b6fbab1b4e5e98f79d8816a77a346.png"
            },
            "stats": {
                "workflow": [
                    {
                        "id": 1,
                        "title": "Todo",
                        "color": "#3c78d8",
                        "total": 6
                    },
                    {
                        "id": 2,
                        "title": "In Progress",
                        "color": "#cc0000",
                        "total": 3
                    },
                    {
                        "id": 3,
                        "title": "Archived",
                        "color": "#20124d",
                        "total": 3
                    },
                    {
                        "id": 4,
                        "title": "Ready to do",
                        "color": "#9fc5e8",
                        "total": 1
                    },
                    {
                        "id": 5,
                        "title": "Repeat Every Weekend",
                        "color": "#1c4587",
                        "total": 5
                    }
                ],
                "id": 1
            },
            "is_leader": true,
            "color": "#7E84FF",
            "contribution": 43,
            "role": {
                "id": 4,
                "name": "admin"
            }
        },
        {
            "user": {
                "name": "Harrison T.",
                "headline": "",
                "username": "harrison",
                "avatar": "https://gitscrum-storage-avatars.s3.amazonaws.com/4820cd74ba9f8c10765c5801a6c04cb3394a721c.png"
            },
            "stats": {
                "workflow": [
                    {
                        "id": 1,
                        "title": "Todo",
                        "color": "#3c78d8",
                        "total": 3
                    },
                    {
                        "id": 2,
                        "title": "Repeat Every Weekend",
                        "color": "#1c4587",
                        "total": 1
                    },
                    {
                        "id": 3,
                        "title": "In Progress",
                        "color": "#cc0000",
                        "total": 2
                    },
                    {
                        "id": 4,
                        "title": "Ready to do",
                        "color": "#9fc5e8",
                        "total": 1
                    }
                ],
                "id": 2
            },
            "is_leader": false,
            "color": "#7E84FF",
            "contribution": 0,
            "role": {
                "id": 4,
                "name": "admin"
            }
        },
        {
            "user": {
                "name": "Robin E.",
                "headline": "\"If you can dream it, you can do it.\" WDisney",
                "username": "robin",
                "avatar": "https://gitscrum-storage-avatars.s3.amazonaws.com/c6e2f3ba9caeb635252cf1387c67a3be652c1253.png"
            },
            "stats": {
                "workflow": [
                    {
                        "id": 1,
                        "title": "Todo",
                        "color": "#3c78d8",
                        "total": 1
                    },
                    {
                        "id": 4,
                        "title": "Repeat Every Weekend",
                        "color": "#1c4587",
                        "total": 1
                    }
                ],
                "id": 5
            },
            "is_leader": false,
            "color": "#7E84FF",
            "contribution": 0,
            "role": {
                "id": 4,
                "name": "admin"
            }
        },
        {
            "user": {
                "name": "Elizabeth F.",
                "headline": "",
                "username": "elizabeth",
                "avatar": "https://gitscrum-storage-avatars.s3.amazonaws.com/dc9253a511a5bab4aa4339aaaac984ecda227154.png"
            },
            "stats": {
                "workflow": [
                    {
                        "id": 3,
                        "title": "Repeat Every Weekend",
                        "color": "#1c4587",
                        "total": 1
                    }
                ],
                "id": 3
            },
            "is_leader": false,
            "color": "#7E84FF",
            "contribution": 0,
            "role": {
                "id": 4,
                "name": "admin"
            }
        },
        {
            "user": {
                "name": "Oliver Smith",
                "headline": "",
                "username": "oliver",
                "avatar": "https://gitscrum-storage-avatars.s3.amazonaws.com/7e5e922a8a025e5b76653cb3ab105c24ffbeeebe.png"
            },
            "stats": {
                "workflow": [
                    {
                        "id": 4,
                        "title": "Ready to do",
                        "color": "#9fc5e8",
                        "total": 1
                    }
                ],
                "id": 2
            },
            "is_leader": false,
            "color": "#7E84FF",
            "contribution": 0,
            "role": {
                "id": 3,
                "name": "member"
            }
        }
    ],
    "total": 6,
    "count": 6,
    "per_page": 50,
    "current_page": 1,
    "total_pages": 1
}

Note

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