#4 Be satisfied with issues closed as duplicate as well.
Merged 7 years ago by ralph. Opened 7 years ago by ralph.

file modified
+1 -1
@@ -34,7 +34,7 @@ 

          query = " AND ".join([

              "=".join([k, v]) for k, v in downstream.items()

              if v is not None

-         ]) + " AND resolution is null"

+         ]) + " AND (resolution is null OR resolution = Duplicate)"

          results = client.search_issues(query)

          # TODO -- handle pagination here...

          jira_cache[key] = results

file modified
+1 -1
@@ -31,7 +31,7 @@ 

  

          # Make sure we called search issues really only once

          client.return_value.search_issues.assert_called_once_with(

-             'key=value AND resolution is null',

+             'key=value AND (resolution is null OR resolution = Duplicate)',

          )

  

      @mock.patch('jira.client.JIRA')

This is the half-way fix for #1:
https://pagure.io/sync-to-jira/issue/1

There is a better, longer-term fix forthcoming.

rebased

7 years ago

Pull-Request has been merged by ralph

7 years ago