Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Task Count Values in Project API Response #454

Open
nrjadkry opened this issue Jan 30, 2025 · 0 comments
Open

Incorrect Task Count Values in Project API Response #454

nrjadkry opened this issue Jan 30, 2025 · 0 comments
Assignees
Labels
backend Related to backend code bug Something isn't working

Comments

@nrjadkry
Copy link
Member

Description

The API response for the project is returning incorrect values for task counts. The issue affects the following fields:

  • total_task_count – Incorrect total number of tasks.
  • ongoing_task_count – Displays an incorrect number of ongoing tasks.
  • completed_task_count – The count of completed tasks is inaccurate.

API Endpoint : api/projects/{project_id}

Expected Behavior:

  • total_task_count should reflect the total number of tasks correctly.
  • ongoing_task_count should only include tasks that are still being processed.
  • completed_task_count should match the actual number of completed tasks.

Actual Behavior:

  • The API returns incorrect numbers for the above fields.
  • The numbers do not match the actual task states in the system.
@nrjadkry nrjadkry added backend Related to backend code bug Something isn't working labels Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend code bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants