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

jiraGetFields: "Illegal base64 character" since 1.5.2

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: jira-steps-plugin
    • Labels:
      None
    • Environment:
      Jenkins: 2.223
      jenkins-setps-plugin >= 1.5.2
      Jira: v8.4.2#804003-sha1:d21414f
    • Similar Issues:

      Description

      Since 1.5.2 I get the following error when using the jiraGetFields command:

      [Pipeline] jiraGetFields
      14:37:08  JIRA: Site - JIRA_PROD - Querying All Fields including Custom fields.
      14:37:08  Error Code: -1
      14:37:08  Error Message: Illegal base64 character 5c
      

      I had to revert to 1.5.1. The issue is also present in 1.5.3.

        Attachments

          Activity

          Hide
          huber Kevin Huber added a comment -

          Seems to be related to the changes merged through https://github.com/jenkinsci/jira-steps-plugin/pull/94

          Show
          huber Kevin Huber added a comment - Seems to be related to the changes merged through https://github.com/jenkinsci/jira-steps-plugin/pull/94
          Hide
          nrayapati Naresh Rayapati added a comment -

          Kevin Huber Thank you pointing out the code, Can you try to update the site credentials after upgrade to see this is going to fix? I guess probably it was a non-passive change, I didn't check that to see if it is going to decode the previous values

          Show
          nrayapati Naresh Rayapati added a comment - Kevin Huber Thank you pointing out the code, Can you try to update the site credentials after upgrade to see this is going to fix? I guess probably it was a non-passive change, I didn't check that to see if it is going to decode the previous values
          Hide
          huber Kevin Huber added a comment -

          Hey Naresh Rayapati, glad to hear from you.
          I tried the following:

          • Update the Plugin to 1.5.3
          • Restart Jenkins
          • Delete the application link in Jira
          • Create a new application link in Jira with new keys
          • Deleted the Jira-Site in Jenkins
          • Created a new Jira-Site with the new keys

          But even after recreating everything i still get the exact same error.
          I switched back to Basic Authentication for now.

          Show
          huber Kevin Huber added a comment - Hey Naresh Rayapati , glad to hear from you. I tried the following: Update the Plugin to 1.5.3 Restart Jenkins Delete the application link in Jira Create a new application link in Jira with new keys Deleted the Jira-Site in Jenkins Created a new Jira-Site with the new keys But even after recreating everything i still get the exact same error. I switched back to Basic Authentication for now.
          Hide
          nrayapati Naresh Rayapati added a comment - - edited

          Reverted this change: https://github.com/jenkinsci/jira-steps-plugin/pull/104, will release another version soon.

          Show
          nrayapati Naresh Rayapati added a comment - - edited Reverted this change: https://github.com/jenkinsci/jira-steps-plugin/pull/104 , will release another version soon.
          Hide
          nrayapati Naresh Rayapati added a comment -

          Release 1.5.4, should be available in update center soon.

          https://github.com/jenkinsci/jira-steps-plugin/releases/tag/jira-steps-1.5.4

          Show
          nrayapati Naresh Rayapati added a comment - Release 1.5.4, should be available in update center soon. https://github.com/jenkinsci/jira-steps-plugin/releases/tag/jira-steps-1.5.4
          Hide
          huber Kevin Huber added a comment -

          Hey Naresh Rayapati,
          thanks for your help.

          I updated to 1.5.4 and changed back to OAuth without any problems.

          Show
          huber Kevin Huber added a comment - Hey Naresh Rayapati , thanks for your help. I updated to 1.5.4 and changed back to OAuth without any problems.
          Hide
          nrayapati Naresh Rayapati added a comment -

          Kevin Huber Thank you for the feedback, appreciate it!

          Show
          nrayapati Naresh Rayapati added a comment - Kevin Huber Thank you for the feedback, appreciate it!

            People

            • Assignee:
              nrayapati Naresh Rayapati
              Reporter:
              huber Kevin Huber
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: