-
Bug
-
Resolution: Fixed
-
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
- Create a Jenkins job, configure post build action with Publish JUnit test report and select the valid project key for JiraTestResultReporter config
- Select the checkbox "Auto unlink issues when test passes"
- Click Save job
- 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!