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

Jira Plugin - Username and password should be optional but are not

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • plugin-proposals
    • None
    • Platform: All, OS: All

    Description

      the gui and the documentation say that
      username and password of a jira site are optional.
      If I leave them blank, I don't get links in the change log, but a NPE in the
      hudson log:

      Caused by: java.lang.NullPointerException
      at hudson.plugins.jira.JiraSite.getProjectKeys(JiraSite.java:109)
      at hudson.plugins.jira.JiraSite.existsIssue(JiraSite.java:165)
      at
      hudson.plugins.jira.JiraChangeLogAnnotator.annotate(JiraChangeLogAnnotator.java:28)
      at hudson.scm.ChangeLogSet$Entry.getMsgAnnotated(ChangeLogSet.java:117)

      I'm using version 1.6 of the plugin

      Attachments

        Activity

          ahuegen ahuegen created issue -

          Fixed in JIRA plugin 1.7.

          kohsuke Kohsuke Kawaguchi added a comment - Fixed in JIRA plugin 1.7.
          kohsuke Kohsuke Kawaguchi made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 130901 ] JNJira + In-Review [ 200211 ]

          People

            Unassigned Unassigned
            ahuegen ahuegen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: