jiraGetProjects returns no projects

XMLWordPrintable

    • Type: Bug
    • Resolution: Not A Defect
    • Priority: Blocker
    • Component/s: jira-steps-plugin
    • None
    • Environment:
      Platform: Windows 10
      Jenkins Version : 2.440.1
      Plugin Version : 2.0.165.v8846cf59f3db

      The problem is that when I run a pipeline script with:

      def projects = jiraGetProjects()
      echo projects.data.toString()

      I get code 200 with an empty list of project, instead of my 2 projects.

       

      I have the following configuration:

      Platform: Windows 10

      Jenkins Version : 2.440.1

      Jira Steps Plugin Version : 2.0.165.v8846cf59f3db

       

      The strange thing is that on another PC, with configuration:

      Platform: Windows 11

      Jenkins Version: 2.426.3

      Jira Steps Plugin Version : 2.0.165.v8846cf59f3db

      Same pipeline script, I get code 200 but this time I get the correct list of projects.

       

      I don't want to upgrade Jenkins because I'm afraid it will stop working. 

      How can I fix this issue? What can be the cause? 

      I'm authenticating on both PC with the same account in Credential mode and I stored the credentials with username and passworld on both PCs. 

       

            Assignee:
            Naresh Rayapati
            Reporter:
            Emanuele Russo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: