title: ansible jira module "msg": "No JSON object could be decoded"
body: <p>Im trying to use the jira module in a number of plays.
  In all cases, reguardless of what action I use I always get &quot;msg&quot;: &quot;No JSON object could be decoded&quot;</p>
  <p>for example
  - name: task search get all issues with uri module</p>
  <pre><code>  jira:
      uri: &quot;https://{{ jira_server }}&quot;
      username: '{{ jira_user }}'
      password: '{{ jira_pass }}'
      project: &quot;{{ jira_project }}&quot;
      operation: search
      jql: &quot;summary~{{ jira_summary }}&quot;
      description: &quot;{{ jira_description }}”
  </code></pre>
  <p>The variables seem to be ok if I use debug and I can cut paste into a curl command and have them execute correctly for a result
  Also If I use the same vars with the uri module I can get it to work</p>
  <p>With the jira module execution results in rhe following error</p>
  <pre><code>WARNING: The below traceback may *not* be related to the actual failure.
    File &quot;/tmp/ansible_jira_payload_tyHCeM/ansible_jira_payload.zip/ansible_collections/community/general/plugins/modules/jira.py&quot;, line 529, in main
    File &quot;/tmp/ansible_jira_payload_tyHCeM/ansible_jira_payload.zip/ansible_collections/community/general/plugins/modules/jira.py&quot;, line 416, in search
    File &quot;/tmp/ansible_jira_payload_tyHCeM/ansible_jira_payload.zip/ansible_collections/community/general/plugins/modules/jira.py&quot;, line 343, in get
    File &quot;/tmp/ansible_jira_payload_tyHCeM/ansible_jira_payload.zip/ansible_collections/community/general/plugins/modules/jira.py&quot;, line 312, in request
    File &quot;/usr/lib64/python2.7/json/__init__.py&quot;, line 338, in loads
      return _default_decoder.decode(s)
    File &quot;/usr/lib64/python2.7/json/decoder.py&quot;, line 366, in decode
      obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    File &quot;/usr/lib64/python2.7/json/decoder.py&quot;, line 384, in raw_decode
      raise ValueError(&quot;No JSON object could be decoded&quot;)
  fatal: [localhost]: FAILED! =&gt; {
      &quot;changed&quot;: false,
      &quot;invocation&quot;: {
          &quot;module_args&quot;: {
              &quot;assignee&quot;: null,
              &quot;comment&quot;: null,
              &quot;description&quot;: null,
              &quot;fields&quot;: {},
              &quot;inwardissue&quot;: null,
              &quot;issue&quot;: null,
              &quot;issuetype&quot;: null,
              &quot;jql&quot;: &quot;summary~AWS Non-Prod instances in breach of Cloud Patching Compliance Rules&quot;,
              &quot;linktype&quot;: null,
              &quot;maxresults&quot;: null,
              &quot;operation&quot;: &quot;search&quot;,
              &quot;outwardissue&quot;: null,
              &quot;password&quot;: &quot;VALUE_SPECIFIED_IN_NO_LOG_PARAMETER&quot;,
              &quot;project&quot;: &quot;MEST&quot;,
              &quot;status&quot;: null,
              &quot;summary&quot;: null,
              &quot;timeout&quot;: 10.0,
              &quot;uri&quot;: &quot;https://jira-host-name&quot;,
              &quot;username&quot;: &quot;srv_splats_ansible&quot;,
              &quot;validate_certs&quot;: false
          }
      },
      &quot;msg&quot;: &quot;No JSON object could be decoded&quot;
  }
  </code></pre>
  <p>any ideas would be fantastic
  thanks</p>