Skip to content

Commit

Permalink
Merge pull request #70 from Fgerthoffert/develop
Browse files Browse the repository at this point in the history
Fixed an issue with closed initiatives actually being processed in th…
  • Loading branch information
Fgerthoffert committed Nov 9, 2019
2 parents 68bf20b + a79fc73 commit f0ba1bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/utils/initiatives/crunchRoadmap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const crunchRoadmap = (
// We filter out initiatives without assignees as well as initiatives not related to the team
const teamInitiatives = openInitiatives
.filter(i => i.fields.assignee !== null)
.filter(i => i.fields.status.StatusCategory !== 'Done')
.filter(i => i.fields.status.statusCategory.name !== 'Done')
.filter(i => getTeamId(i.fields.assignee.name) === getTeamId(team.team));
for (const initiative of teamInitiatives) {
// Start naive, add the calendar and completion into a template
Expand Down

0 comments on commit f0ba1bd

Please sign in to comment.