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

Calling pipeline steps functions gives error that not logged in -- though successfully authenticated in plugin configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • jira-steps-plugin
    • None

      For example, trying to run the code (I changed the issue key)

      def issue = jiraGetIssue site: "JIRA", idOrKey: 'PROJ-12345'
      echo issue.data.toString()

      gives the error message:
      ERROR: {"errorMessages":["You do not have the permission to see the specified issue.","Login Required"],"errors":{}}
      but on the plugin configuration page, a user (that has correct permissions in JIRA) is set up with correct username and password – testing connection shows success. 

        1. Login Error (getIssue).png
          81 kB
          Justin Duda
        2. JIRA - version.png
          23 kB
          Justin Duda
        3. JIRA - Issue.png
          387 kB
          Naresh Rayapati
        4. JIRA Home Page.png
          455 kB
          Naresh Rayapati
        5. Jenkins version.png
          18 kB
          Justin Duda
        6. Jenkins - Plugin Version.png
          27 kB
          Naresh Rayapati
        7. Jenkins - Job.png
          129 kB
          Naresh Rayapati
        8. Jenkins- Config.png
          40 kB
          Justin Duda
        9. Jenkins - Config.png
          89 kB
          Naresh Rayapati
        10. Issue.png
          13 kB
          Justin Duda
        11. getProjects script.png
          10 kB
          Justin Duda
        12. getProjects() success.png
          36 kB
          Justin Duda
        13. getIssue script.png
          11 kB
          Justin Duda
        14. Empty UserName Password.png
          545 kB
          Naresh Rayapati

            nrayapati Naresh Rayapati
            jdudatt Justin Duda
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: