Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-38293

Unable to create Jira issue using Jira plugin for jenkins

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • jira-plugin
    • None

      I have set up the 2.2.1 version of Jira plugin for jenkins with my jenkins instance. I am having issue with "Create jira issue" upon job failure. The update relevant jira issue part is working fine.

      The job faile ar create jira issue step

      Below is the error that i am getting (from console output)

      ERROR: Build step failed with exception
      java.lang.NullPointerException
      at hudson.plugins.jira.JiraCreateIssueNotifier.getStatus(JiraCreateIssueNotifier.java:186)
      at hudson.plugins.jira.JiraCreateIssueNotifier.currentBuildResultFailure(JiraCreateIssueNotifier.java:332)
      at hudson.plugins.jira.JiraCreateIssueNotifier.perform(JiraCreateIssueNotifier.java:133)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
      at hudson.model.Build$BuildExecution.post2(Build.java:185)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
      at hudson.model.Run.execute(Run.java:1766)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:408)
      Build step 'Create Jira Issue' marked build as failure

      Need help fixing it.

        1. screenshot-1.png
          screenshot-1.png
          94 kB
        2. screenshot-2.png
          screenshot-2.png
          42 kB
        3. screenshot-3.png
          screenshot-3.png
          56 kB
        4. screenshot-4.png
          screenshot-4.png
          64 kB

            warden Radek Antoniuk
            pmanisekar Prabhu Manisekar
            Votes:
            3 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: