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

Add current date in startDate when creating new version

    XMLWordPrintable

Details

    Description

      When creating a new version in Jira through Jenkins we want to set the current date in "Start Date" for Version Reports. Currently we have to manually edit them in Jira after each build in Jenkins.

      This field was never added to the Jira Rest Java Client Library even though it is available on the Jira Rest API (undocumented).

      If I query a particular version with a "Start Date" already filled in Jira, I can see the field "startDate".

      { "self": "https://.../rest/api/latest/version/21755", "id": "21755", "name": "CLAP-3.0.2", "archived": false, "released": false, "startDate": "2019-03-14", "userStartDate": "March 14, 2019", "projectId": 12400 }

      Attachments

        Activity

          mpare Mathieu Paré created issue -
          mpare Mathieu Paré made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          mpare Mathieu Paré made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          mpare Mathieu Paré made changes -
          Labels jira-plugin-3.0.6
          mpare Mathieu Paré made changes -
          Labels jira-plugin-3.0.6
          olamy Olivier Lamy made changes -
          Labels jira-plugin-3.0.6
          olamy Olivier Lamy made changes -
          Resolution Fixed [ 1 ]
          Status In Review [ 10005 ] Fixed but Unreleased [ 10203 ]
          olamy Olivier Lamy made changes -
          Status Fixed but Unreleased [ 10203 ] Closed [ 6 ]

          People

            mpare Mathieu Paré
            mpare Mathieu Paré
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: