Skip to content

Commit

Permalink
Merge pull request #18 from melexis/change-request
Browse files Browse the repository at this point in the history
Support closed change requests
  • Loading branch information
Ben2022 authored May 25, 2022
2 parents 670ac47 + c7b5005 commit 58b6c05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mlx/jira_juggler.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ def resolved_at_date(self):
if self.is_resolved:
for change in self.issue.changelog.histories:
for item in change.items[::-1]:
if item.field.lower() == 'status' and item.toString.lower() == 'resolved':
if item.field.lower() == 'status' and item.toString.lower() in ('resolved', 'closed'):
return parser.isoparse(change.created)
return None

Expand Down

0 comments on commit 58b6c05

Please sign in to comment.