title: Fetching JIRA data with R
body: <p>I am able to access the data in json format from a web browser as follows</p>
  
  <pre><code>https://xxxxxxx.atlassian.net/rest/api/2/search?jql=assignee=username
  </code></pre>
  
  <p>but not able to fetch data using curl or httr libraries.</p>
  
  <pre><code>library(curl)
  JIRAData &lt;- curl("https://xxxxxxx.atlassian.net/rest/api/2/search?jql=assignee=username")
  
  library(httr)
  JIRAInfo &lt;- GET("https://xxxxxxx.atlassian.net/rest/api/2/search?jql=assignee=username")
  </code></pre>
  
  <p>What am I missing or doing wrong?</p>