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

Jenkins "Jira Issue Updater Plugin" pasrsing error when "Affects Version/s" is not empty

XMLWordPrintable

      In case of Success(Jira issues not mapped with Affected version/s ):
      JIRA Update Results Recorder

      Updating SA-52 Check_52 Finished: SUCCESS

      =====================================

      In case of failure ( Jira issues mapped with Affected version/s):
      JIRA Update Results Recorder

      Unable to parse JSON result: {"expand":"names,schema","startAt":0,"maxResults":1000,"total":1,"issues":[{"expand":"operations,versionedRepresentations,editmeta,changelog,transitions,renderedFields","id":"11274","self":"http://benjira01.tally.tallysolutions.com:8080/rest/api/2/issue/11274","key":"SA-52","fields":{"summary":"Check _52","versions":[

      {"self":"http://benjira01.tally.tallysolutions.com:8080/rest/api/2/version/10505","id":"10505","description":"Demo version","name":"1.0","archived":false,"released":false}

      ]}}]} com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token at [Source: {"expand":"names,schema","startAt":0,"maxResults":1000,"total":1,"issues":[{"expand":"operations,versionedRepresentations,editmeta,changelog,transitions,renderedFields","id":"11274","self":"http://benjira01.tally.tallysolutions.com:8080/rest/api/2/issue/11274","key":"SA-52","fields":{"summary":"Check _52","versions":[

      {"self":"http://benjira01.tally.tallysolutions.com:8080/rest/api/2/version/10505","id":"10505","description":"Demo version","name":"1.0","archived":false,"released":false}

      ]}}]}; line: 1, column: 320](through reference chain: info.bluefloyd.jira.model.IssueSummaryList["issues"]>java.util.ArrayList[0]>info.bluefloyd.jira.model.IssueSummary["fields"]>info.bluefloyd.jira.model.FieldSummary["versions"]>java.util.ArrayList[0])Build step 'JIRA Issue Results Updater' marked build as failure Finished: FAILURE

            isparkes Ian Sparkes
            isparkes Ian Sparkes
            Votes:
            8 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: