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

JiraTestResultReporter-plugin - "Auto unlink issue" checkbox isn't loading the saved value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • Jenkins version 2.107.2
      JiraTestReporter plugin version 2.0.6

      JiraTestResultReporter plugin is unable to load the saved value for checkbox "Auto unlink issues when test passes" when editing a Jenkins job. However it's intended behaviour is correctly functioning. i.e. when the job is saved with this checkbox selected, when the test is passing plugin will automatically unlink the mapped Jira ticket from the job.

      I have marked the bug priority as major as it is unknowingly unchecking the box when user edits the job for other purposes.

      Steps to reproduce

      1. Create a Jenkins job, configure post build action with Publish JUnit test report and select the valid project key for JiraTestResultReporter config
      2. Select the checkbox "Auto unlink issues when test passes"
      3. Click Save job
      4. Configure the same job again

      Expected

      At step 4, the checkbox "Auto unlink issues when test passes" should be selected

      Actual

      At step 4, the checkbox "Auto unlink issues when test passes" is not selected (However the mapping json file on the master is correctly saving the value for this parameter)

       

      PS: I will be creating a fix for this through a PR and update the link in the comments. Thanks!

            catalinluta Catalin Luta
            krupaldesai Krupal Desai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: