Kaynağa Gözat

Fixed issue #25, Jira query parameters wrong according to Jira 8.3.0

ossv 4 yıl önce
ebeveyn
işleme
28b7c81aa6
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      code/fetch_jira_bugs/fetch.py

+ 1 - 1
code/fetch_jira_bugs/fetch.py

@@ -32,7 +32,7 @@ def fetch(project_issue_code, jira_project_name):
 
     os.makedirs('issues/', exist_ok=True)
     request = 'https://' + jira_project_name + '/rest/api/2/search?'\
-        + 'jql={}&start_at={}&max_results={}'
+        + 'jql={}&startAt={}&maxResults={}'
 
     # Do small request to establish value of 'total'
     with url.urlopen(request.format(jql, start_at, '1')) as conn: