From 52e14bd1727a60831c67da3f840b6ed078ceba7e Mon Sep 17 00:00:00 2001
From: Michael Ansel <github@anselcomputers.com>
Date: Sat, 5 Nov 2016 03:17:49 -0700
Subject: [PATCH] jira: Specify the correct argument type (#3368)

By default, all arguments are considered strings, but the module code expects the `fields` parameter to be a proper Python dictionary.

Fixes #2600
---
 lib/ansible/modules/extras/web_infrastructure/jira.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ansible/modules/extras/web_infrastructure/jira.py b/lib/ansible/modules/extras/web_infrastructure/jira.py
index 0053e0a32cd..85b988d24bc 100755
--- a/lib/ansible/modules/extras/web_infrastructure/jira.py
+++ b/lib/ansible/modules/extras/web_infrastructure/jira.py
@@ -311,7 +311,7 @@ def main():
             comment=dict(),
             status=dict(),
             assignee=dict(),
-            fields=dict(default={})
+            fields=dict(default={}, type='dict')
         ),
         supports_check_mode=False
     )