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

Adding Jira Server Error: This is not a valid Jira Server

      We are getting this error "This is not a valid Jira Server" when trying to add a new Jira server to the Jenkins Zephyr plugin for test management. Our jenkins version is 1.651.3 and the plugin version is 1.3. I've verified the zephyr version meets the minimum on the Jira side. The jira url being used is valid. What's causing the error?

          [JENKINS-38137] Adding Jira Server Error: This is not a valid Jira Server

          In our environment, JIRA URL is like https://jira.mycompany.com which is a loadbalanced url via HAProxy kind of LB server with actual JIRA servers in the backend. The Zephyr plugin in Jenkins is not recognizing the JIRA url

          Sagayaraj David added a comment - In our environment, JIRA URL is like https://jira.mycompany.com which is a loadbalanced url via HAProxy kind of LB server with actual JIRA servers in the backend. The Zephyr plugin in Jenkins is not recognizing the JIRA url

          Larry Brigman added a comment -

          It is doing the same thing on me.
          No errors but won't validate.
          Pcap doesn't show any issues. No exceptions thrown. No stack traces.
          Jenkins 2.21
          Jira 6.4.1
          Zephyr 2.6.2
          ZAPI 1.6.0

          It issues the request to project?expand and gets back a very long list that should satisfy the tests. My wireshark capture show a valid json object with [ at the beginning and ] at the end. Status code for the request is 200.

          I also used curl to prove that the info was valid.
          Not finding the fault in the other end, just something like a too big response for the code to handle.
          project_expand.json

          Larry Brigman added a comment - It is doing the same thing on me. No errors but won't validate. Pcap doesn't show any issues. No exceptions thrown. No stack traces. Jenkins 2.21 Jira 6.4.1 Zephyr 2.6.2 ZAPI 1.6.0 It issues the request to project?expand and gets back a very long list that should satisfy the tests. My wireshark capture show a valid json object with [ at the beginning and ] at the end. Status code for the request is 200. I also used curl to prove that the info was valid. Not finding the fault in the other end, just something like a too big response for the code to handle. project_expand.json

          Larry Brigman added a comment -

          After a day of troubleshooting I find that the git repo has the fix for this issue already committed.
          Please release a new version from this commit: adc39632e6e9a

          Larry Brigman added a comment - After a day of troubleshooting I find that the git repo has the fix for this issue already committed. Please release a new version from this commit: adc39632e6e9a

            zeedeveloper Zephyr Developer
            dpyoung Danrisha Young
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: