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

Integer value cannot be used in Jira summary

    Details

    • Similar Issues:

      Description

      We were using jira-steps plugin version 1.2.1, where it was able to create jiraNewIssue with summary field containing int value (Build version  number) assigned to a variable. 

      eg: 170.5.191: Build failure

      But after upgrading jira-steps plugin version to 1.2.5, getting error as mentioned below.

      Could you please analyse the reason?

       

      Jira-jenkins-intgtrn #93 Console [Jenkins]
      Creating new Jira issue[Pipeline] jiraNewIssueJIRA: Site - ABS Jira - Creating new issue: IssueInput(update=null, fields={project={id=10601}, summary='170.9.171': Jenkins build failure, description=Build job for package with version '170.9.171' failed., priority={name=Highest}, issuetype={id=10401}})
      Error Code: 400
      Error Message: {"errorMessages":[],"errors":{"summary":"Operation value must be a string"}}[Pipeline] }[Pipeline] // withEnv[Pipeline] }[Pipeline] // stage[Pipeline] }[Pipeline] // node[Pipeline] End of Pipeline[BFA] Scanning build for known causes...
      [BFA] No failure causes found
      [BFA] Done. 0s
      ERROR: {"errorMessages":[],"errors":{"summary":"Operation value must be a string"}}Finished
      : FAILURE
       

      Regards,

      Roshni

        Attachments

          Activity

          Hide
          roshnij7 Roshni J added a comment -

          Hi Naresh,

          Could you please share an update on the above query?

          Regards,

          Roshni

          Show
          roshnij7 Roshni J added a comment - Hi Naresh, Could you please share an update on the above query? Regards, Roshni
          Hide
          roshnij7 Roshni J added a comment -

          Any update on this will be appreciable. Please respond.

           

          Regards,

          Roshni

          Show
          roshnij7 Roshni J added a comment - Any update on this will be appreciable. Please respond.   Regards, Roshni
          Hide
          roshnij7 Roshni J added a comment -

          Hi,

          Please respond at the earliest.

          Regards,

          Roshni

          Show
          roshnij7 Roshni J added a comment - Hi, Please respond at the earliest. Regards, Roshni
          Hide
          nrayapati Naresh Rayapati added a comment -

          Roshni J I was using the latest version. From the error it looks like a basic one, somehow you are not making a summary field as a string make sure you do that. All these errors are from JIRA itself, and jira-steps is a simple wrapper on top of it to enable jenkins user to provide some reusable steps.

          Show
          nrayapati Naresh Rayapati added a comment - Roshni J I was using the latest version. From the error it looks like a basic one, somehow you are not making a summary field as a string make sure you do that. All these errors are from JIRA itself, and jira-steps is a simple wrapper on top of it to enable jenkins user to provide some reusable steps.
          Hide
          nrayapati Naresh Rayapati added a comment -

          Roshni J is this still a problem? otherwise I am going to close this one.

          Show
          nrayapati Naresh Rayapati added a comment - Roshni J is this still a problem? otherwise I am going to close this one.

            People

            • Assignee:
              nrayapati Naresh Rayapati
              Reporter:
              roshnij7 Roshni J
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: