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.
- 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
At step 4, the checkbox "Auto unlink issues when test passes" should be selected
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!