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

Configuration for "Add timestamp to JIRA comments" not observed/remembered

    XMLWordPrintable

Details

    Description

      Under Manage Jenkins > Configure System > JIRA sites I have Add timestamp to JIRA comments enabled

      For the next (couple?) of builds, I do get the timestamp in the JIRA comment, but eventually they stop being added and when I go back to Configure System I see that the checkbox is now unticked

      Worked fine prior to upgrade to latest Jenkins + this plugin

      Attachments

        Issue Links

          Activity

            pholden Paul Holden added a comment -

            For the next (couple?) of builds, I do get the timestamp in the JIRA comment, but eventually they stop being added and when I go back to Configure System I see that the checkbox is now unticked

            I've just tested this, turns out that the setting is not being preserved between Jenkins restarts (e.g. after updating plugins and restarting the Jenkins instance). The configuration in the XML file appears to still be correct:

            $ grep appendChangeTimestamp hudson.plugins.jira.JiraProjectProperty.xml 
                  <appendChangeTimestamp>true</appendChangeTimestamp>
            

            But it isn't reflected in the Configure System UI, nor when the plugin posts comments back to Jira (until I manually go to Configure System, tick the Add timestamp to JIRA comments checkbox and press Save)

            olamy - help
             

            pholden Paul Holden added a comment - For the next (couple?) of builds, I do get the timestamp in the JIRA comment, but eventually they stop being added and when I go back to Configure System I see that the checkbox is now unticked I've just tested this, turns out that the setting is not being preserved between Jenkins restarts (e.g. after updating plugins and restarting the Jenkins instance). The configuration in the XML file appears to still be correct: $ grep appendChangeTimestamp hudson.plugins.jira.JiraProjectProperty.xml <appendChangeTimestamp> true </appendChangeTimestamp> But it isn't reflected in the Configure System UI, nor when the plugin posts comments back to Jira (until I manually go to Configure System , tick the Add timestamp to JIRA comments checkbox and press Save) olamy - help  
            olamy Olivier Lamy added a comment - fixed  https://github.com/jenkinsci/jira-plugin/commit/050af9aa7fd641e3f4acbdedeb473c1f45720d1b

            People

              olamy Olivier Lamy
              pholden Paul Holden
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: