Alisha - feature : implementation of BMDashboard grouped bar-graph showing Issues created vs Resolved of projects backend#1853
Open
alishawalunj wants to merge 6 commits intodevelopmentfrom
Conversation
akshith312
approved these changes
Oct 25, 2025
Aswin20010
approved these changes
Oct 27, 2025
Contributor
|
i have reviewed the frontend and it worked as intended |
beblicarl
approved these changes
Nov 21, 2025
sayali-2308
approved these changes
Jan 30, 2026
Contributor
There was a problem hiding this comment.
- Checked out branch:
alisha/feature/issue-analytics-grouped-bar-graph - Frontend branch:
alisha/feature/issues-bar-graph - Tested on: Windows, Postman
- Server running on port 4500
API Endpoints Tested:
- GET
/api/issues/summary
- Response: 200 OK
- Returns correct JSON structure:
{
"success": true,
"data": {
"totalIssues": 0,
"newIssues": 0,
"resolvedIssues": 0,
"averageResolutionTimeDays": 0
}
}
2. GET `/api/issues/trends`
- **Response:** 200 OK
- **Returns correct JSON structure:**
```json
{
"success": true,
"data": [],
"meta": {
"startDate": "2025-12-05T05:00:00.000Z",
"endDate": "2026-01-31T04:59:59.999Z",
"weeks": 9
}
}
3. Tested with query parameters:
- `/api/issues/summary?weeks=4` - Works correctly
- `/api/issues/trends?weeks=4` - Works correctly
- Date range parameters work as expected
Integration:
- Frontend successfully fetches data from both endpoints
- No CORS issues
- No authentication issues
- Response format matches frontend expectations
Anusha-Gali
approved these changes
Feb 3, 2026
8a84353 to
a2549ab
Compare
|
…s to fetch result on basis of date and weeks filter
bace2d5 to
c46985b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



















Description
Related PRs (if any)
This backend PR is related to the #4272 frontend PR.
Main changes explained
getIssueSummaryandgetIssueTrends.How to test
npm installand start the application locally.Without parameters:
http://localhost:4500/api/issues/summaryhttp://localhost:4500/api/issues/trendsWith date range parameters:
http://localhost:4500/api/issues/summary?start=2025-10-01&end=2025-10-19http://localhost:4500/api/issues/trends?start=2025-10-01&end=2025-10-19With weeks parameter:
http://localhost:4500/api/issues/summary?weeks=4http://localhost:4500/api/issues/trends?weeks=4Screenshots or videos of changes: