title: How to create a JIRA new Issue using the Jenkins Jira Steps Plugin
body: <p>I would like to create a new Jira Issue using the <a href="https://jenkinsci.github.io/jira-steps-plugin/jira_new_issue.html" rel="nofollow noreferrer">Jenkins Jira Steps Plugin</a>.</p>
  
  <p>Here is my Demo Pipeline:</p>
  
  <pre><code>node {
    stage('JIRA') {
      def testIssue = [fields: [ project: [id: '1'],
                                   summary: 'New JIRA Created from Jenkins.',
                                   description: 'New JIRA Created from Jenkins.',
                                   issuetype: [id: '11']]]
  
        response = jiraNewIssue issue: testIssue, site: 'JIRA T'
  
        echo response.successful.toString()
        echo response.data.toString()
      }
  }
  </code></pre>
  
  <p>After running the Pipeline I get:</p>
  
  <pre><code>[Pipeline] node
  Running on master in /home/tomcat/.jenkins/workspace/Jira-RFC-Demo-Pipeline
  [Pipeline] {
  [Pipeline] stage
  [Pipeline] { (JIRA)
  [Pipeline] jiraNewIssue
  JIRA: Site - JIRA T - Creating new issue: IssueInput(update=null, fields={project={id=1}, summary=New JIRA Created from Jenkins., description=New JIRA Created from Jenkins., issuetype={id=11}})
  Error Code: 400
  Error Message: {"errorMessages":[],"errors":{"project":"project is required"}}
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] }
  [Pipeline] // node
  [Pipeline] End of Pipeline
  ERROR: {"errorMessages":[],"errors":{"project":"project is required"}}
  Finished: FAILURE
  </code></pre>
  
  <p>So it looks like the plugin isn't able to read the project from the testIssue. Nevertheless this should be the way to create an issue as documented in the link above.</p>
  
  <p>Any Ideas?</p>