Updating Jira tickets from Jenkins workflow (jenkinsfile)
<p>How can I update a jira issue from within a <a href="https://github.com/jenkinsci/workflow-plugin/blob/master/TUTORIAL.md" rel="nofollow">Jenkinsfile (jenkins-worflow/pipeline)</a>? 
Is there a way I  could use the <a href="https://wiki.jenkins-ci.org/display/JENKINS/Jira+Issue+Updater+Plugin" rel="nofollow">Jira Issue Updater plugin</a> as a step in the Jenkinsfile? </p>

<p>I know I could use the Jira RestAPI, but I'm trying to figure out if I can re-use the functionality provided by the <a href="https://wiki.jenkins-ci.org/display/JENKINS/Jira+Issue+Updater+Plugin" rel="nofollow">jira-updater-issue</a>. </p>

<p>What I'm looking for is a something similar to the example below calling Junit archiver, and atifact archiver, but calling jira updater.</p>

<pre><code>    node {
      git url: 'https://github.com/jglick/simple-maven-project-with-tests.git'
      def mvnHome = tool 'M3'
      sh "${mvnHome}/bin/mvn -B -Dmaven.test.failure.ignore verify"
      step([$class: 'ArtifactArchiver', artifacts: '**/target/*.jar', fingerprint: true])
      step([$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml'])
    }
</code></pre>