Skip to content

Commit ccde597

Browse files
pwendellnemccarthy
authored andcommitted
[HOTFIX] Bug in merge script
1 parent 81e22eb commit ccde597

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dev/merge_spark_pr.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,9 @@ def get_version_json(version_str):
266266

267267
resolve = filter(lambda a: a['name'] == "Resolve Issue", asf_jira.transitions(jira_id))[0]
268268
resolution = filter(lambda r: r.raw['name'] == "Fixed", asf_jira.resolutions())[0]
269-
custom_fields = {'resolution': {'id': resolution.raw['id']}}
270269
asf_jira.transition_issue(
271270
jira_id, resolve["id"], fixVersions = jira_fix_versions,
272-
comment = comment, fields = custom_fields)
271+
comment = comment, resolution = {'id': resolution.raw['id']})
273272

274273
print "Successfully resolved %s with fixVersions=%s!" % (jira_id, fix_versions)
275274

0 commit comments

Comments
 (0)