-
Notifications
You must be signed in to change notification settings - Fork 0
Replace milestones in favour of sprints #17
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,5 @@ | ||
| query GetSprintsByState($workspaceId: ID!, $sprintFilters: SprintFiltersInput!, $firstSprints: Int!, $orderSprintsBy: SprintOrderInput!, $endCursor: String) { | ||
| workspace(id: $workspaceId) { | ||
| id | ||
| displayName | ||
|
Comment on lines
-3
to
-4
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these values aren't used |
||
| sprints( | ||
| first: $firstSprints | ||
| filters: $sprintFilters | ||
|
|
@@ -13,16 +11,7 @@ query GetSprintsByState($workspaceId: ID!, $sprintFilters: SprintFiltersInput!, | |
| endCursor | ||
| } | ||
| nodes { | ||
| id | ||
| name | ||
| startAt | ||
| endAt | ||
| # No need to get all issues as we rarely exceed 50 issues in a sprint | ||
| issues(first: 100) { | ||
| nodes { | ||
| id | ||
| } | ||
| } | ||
| ...SprintFragment | ||
| } | ||
| } | ||
| } | ||
|
|
||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,11 @@ fragment IssueFragment on Issue { | |
| id | ||
| title | ||
| number | ||
| assignees { | ||
| nodes { | ||
| login | ||
| } | ||
| } | ||
|
Comment on lines
+5
to
+9
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we need this to display assignee info in the sprint summary report |
||
| estimate { | ||
| value | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| fragment SprintFragment on Sprint { | ||
| id | ||
| name | ||
| startAt | ||
| endAt | ||
| # No need to get all issues as we rarely exceed 50 issues in a sprint | ||
| issues(first: 100) { | ||
| nodes { | ||
| id | ||
| } | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we use a fragment here for better code re-use