I am attempting to use the defect plugin with Rally.
I wish to retrieve the value in the ‘Version’ field the user has specified in TestRail in the test result so that I can send this as the Found In Build value.
I have attempted to modify the script to extract the value from tests and case objects but the version object is not defined.
$test = current($context['tests']);
$testVersion = $test->version;
#Also have tried
$testVersion = $test->case->version;
Error returned is: Undefined property: stdClass::$version