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

Jira Plugin does not create new version in existing project

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Component/s: jira-plugin
    • Labels:
      None
    • Environment:
      Jenkins Version: 2.176.2 and JIRA v5.2.10
    • Similar Issues:

      Description

      Hi thanks for reading me, I'm trying to use the Jira-Plugin ( https://wiki.jenkins-ci.org/display/JENKINS/JIRA+Plugin ), only to Create Versions in a specific project in my Jira:

      My versions Jenkins: 2.176.2 and JIRA v5.2.10

      But when the build of a job is executed in my jenkins the job ends well, I have communication and connection with JIRA, since in Jira it shows me the session started from Jenkins, therefore it is not an accreditation problem, the user who used from Jenkins to Jira has all the possible permissions, but still , I am not generating the new version in the project that I specify

      The job ends well, but does not create the version in the project

       

      I looked in the Jira Logs, and the following appears, where I highlight the date

      Could someone please guide me, what can I do, or what am I doing wrong.

       

      Thanks in advance

       

        Attachments

          Activity

          Hide
          warden Radek Antoniuk added a comment -

          It seems that the API is now not accepting startDate field? What Jira type (Server or Cloud) and version are you using?

          Also, you should remove quotes from your version string, as you can see in the log they are double-quoted.

          Show
          warden Radek Antoniuk added a comment - It seems that the API is now not accepting startDate field? What Jira type (Server or Cloud) and version are you using? Also, you should remove quotes from your version string, as you can see in the log they are double-quoted.
          Hide
          warden Radek Antoniuk added a comment -

          Oh, I just noticed you are on Jira (Server) 5.2.10.
          Indeed, Jira 5.2.10 doesn't know the startDate field that the current version of Jenkins Jira plugin is using.

          We need to think how we can achieve backward compatibility with older Jira versions for cases like this, for now I guess you can only try using an older version of Jenkins Jira plugin or consider upgrading your Jira instance...

          Show
          warden Radek Antoniuk added a comment - Oh, I just noticed you are on Jira (Server) 5.2.10 . Indeed, Jira 5.2.10 doesn't know the startDate field that the current version of Jenkins Jira plugin is using. https://docs.atlassian.com/software/jira/docs/api/5.2.10/index.html?com/atlassian/jira/rest/v2/issue/version/VersionBean.html https://docs.atlassian.com/software/jira/docs/api/7.3.2/com/atlassian/jira/rest/v2/issue/version/VersionBean.html We need to think how we can achieve backward compatibility with older Jira versions for cases like this, for now I guess you can only try using an older version of Jenkins Jira plugin or consider upgrading your Jira instance...

            People

            • Assignee:
              fgf2001 Fernando Gomez
              Reporter:
              fgf2001 Fernando Gomez
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: