I want to know if it's somehow possible to get custom Test Result fields into the output of
im viewissue --showtestresults <test session ID>
As of now I only get verdict and annotation back.
But I would like to get a custom defined Test Result field like "Actual Result" as well.
It's not possible to get a custom field for Test Results using im viewissue. The output for test results is hardcoded.
You can get the custom field using tm results command. For example:
tm results --fields=caseID,annotation,verdict,"My Test Field" --sessionID=1638
You can also add fields from the Test Session:
tm results --fields=Summary:session,State:session,caseID,annotation,verdict,"My Test Field" --sessionID=1638