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

Issue Type must be selectable from fetched dropdown

    XMLWordPrintable

Details

    Description

      JIRA 7.0 comes in different flavors and because of that it does not have the "Bug" with ID=1 that is hardcoded in JiraRestService class.
      Need to provide a configuration dropdown field to select issue type.

      This results in an NPE during Create Issue task:

      java.lang.NullPointerException
      at hudson.plugins.jira.JiraSession.createIssue(JiraSession.java:305)
      

      Attachments

        Issue Links

          Activity

            warden Radek Antoniuk created issue -
            warden Radek Antoniuk made changes -
            Field Original Value New Value
            Description JIRA 7.0 comes in different flavors and because of that it does not have the "Bug" with ID=1 that is hardcoded in JiraRestService class.
            Need to provide a configuration dropdown field to select issue type.
            JIRA 7.0 comes in different flavors and because of that it does not have the "Bug" with ID=1 that is hardcoded in JiraRestService class.
            Need to provide a configuration dropdown field to select issue type.

            This results in an NPE during Create Issue task:
            {code}
            java.lang.NullPointerException
            at hudson.plugins.jira.JiraSession.createIssue(JiraSession.java:305)
            {code}
            warden Radek Antoniuk made changes -
            Priority Minor [ 4 ] Critical [ 2 ]
            warden Radek Antoniuk made changes -
            Labels jira-plugin-2.2
            warden Radek Antoniuk made changes -
            Summary Hardcoded Bug value will not work with JIRA 7.0 Issue Type must be selectable from fetched dropdown
            warden Radek Antoniuk made changes -
            Issue Type Bug [ 1 ] Improvement [ 4 ]
            warden Radek Antoniuk made changes -
            Assignee Radek Antoniuk [ warden ]
            warden Radek Antoniuk made changes -
            Labels jira-plugin-2.2
            zajic Jan Zajíc made changes -
            Link This issue is duplicated by JENKINS-21766 [ JENKINS-21766 ]
            warden Radek Antoniuk made changes -
            Assignee Radek Antoniuk [ warden ]
            warden Radek Antoniuk made changes -
            Link This issue duplicates JENKINS-21766 [ JENKINS-21766 ]
            warden Radek Antoniuk made changes -
            Link This issue is duplicated by JENKINS-21766 [ JENKINS-21766 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 166345 ] JNJira + In-Review [ 182363 ]
            warden Radek Antoniuk made changes -
            Link This issue relates to JENKINS-38026 [ JENKINS-38026 ]
            johno Johno Crawford made changes -
            Assignee Radek Antoniuk [ warden ]
            johno Johno Crawford made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            warden Radek Antoniuk made changes -
            Labels jira-plugin-2.3
            warden Radek Antoniuk made changes -
            Link This issue is duplicated by JENKINS-21766 [ JENKINS-21766 ]
            warden Radek Antoniuk made changes -
            Link This issue duplicates JENKINS-21766 [ JENKINS-21766 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal OSS-1648 (Web Link)" [ 18614 ]
            warden Radek Antoniuk made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

            People

              warden Radek Antoniuk
              warden Radek Antoniuk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: