static void CreateRelationship(RestClient client, Root root, int zephyrTestCaseId, int zephyrRequirementId, Options options, Organisation org) { Script script = client.GetScriptByZephyrId(root, zephyrTestCaseId); Requirement requirement = client.GetRequirementByZephyrId(root, zephyrRequirementId); try { client.CreateRelationshipBetweenScriptAndRequirement(options.Server, org.Id, script.Id, requirement.Id); } catch (RelationshipExistsException) { Console.WriteLine(" => Relationship already exists!"); } }