Skip to content

Commit

Permalink
gitlab: handle reopened issues and MRs
Browse files Browse the repository at this point in the history
  • Loading branch information
mathstuf committed Oct 27, 2015
1 parent 11ddf04 commit 4d5f61b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bugwarrior/services/gitlab.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def get_repo_issues(self, rid):
# Projects may have issues disabled.
return []
for issue in repo_issues:
if issue['state'] != 'opened':
if issue['state'] not in ('opened', 'reopened'):
continue
issues[issue['id']] = (rid, issue)
return issues
Expand All @@ -341,7 +341,7 @@ def get_repo_merge_requests(self, rid):
# Projects may have merge requests disabled.
return []
for issue in repo_merge_requests:
if issue['state'] != 'opened':
if issue['state'] not in ('opened', 'reopened'):
continue
issues[issue['id']] = (rid, issue)
return issues
Expand Down

0 comments on commit 4d5f61b

Please sign in to comment.