title: How to set date created and date updated fields in JIRA using Python REST API?
body: <p>I am using the JIRA Python REST API to create an issue in JIRA, but I don't know how to set the date created and date updated fields for an issue, as well as format the date to how JIRA wants it. My is code below:</p>
  
  <pre class="lang-python prettyprint-override"><code>jira.create_issue(project={'key': 'DEL'}, 
  created='10/4/2012  9:30:00 AM', 
  updated='12/22/2012  10:00:00 AM', 
  priority={'name': 'Critical'}, 
  summary='My summary', 
  description='My description', 
  issuetype={'name': 'Bug'})
  </code></pre>
  
  <p>It gives me the annoying error that it doesn't even recognize the fields even though they exist (reference: <a href="http://jira-python.readthedocs.org/en/latest/index.html" rel="nofollow">http://jira-python.readthedocs.org/en/latest/index.html</a>): </p>
  
  <pre><code>JIRAError: HTTP 400: "{u'updated': u"Field 'updated' cannot be set. It is not on the appropriate screen, or unknown.", u'created': u"Field 'created' cannot be set. It is not on the appropriate screen, or unknown."}"
  </code></pre>