Link defect to a test execution via API in Python
I was trying to create a Python script which can update test execution status and link defect in Zephyr. However, the script can change the test execution status but cannot link defect. This is my code snippet. def read_and_update_from_excel(file_path): user_input = pd.read_excel(file_path, sheet_name="Sheet1") lookup = pd.read_excel(file_path, sheet_name="Lookup Value") # Create a mapping of status text