From 8ff0499eb1126350b1c57715730cdb9563caa74a Mon Sep 17 00:00:00 2001 From: Lili Nie Date: Tue, 3 Dec 2024 04:31:04 -0500 Subject: [PATCH] Get links properly to add for `tmt link` --- tmt/utils/jira.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmt/utils/jira.py b/tmt/utils/jira.py index b52fba34b0..a5de1dea56 100644 --- a/tmt/utils/jira.py +++ b/tmt/utils/jira.py @@ -200,7 +200,7 @@ def link( """ # TODO: Shall we cover all relations instead? - for link in links.get("verifies"): + for link in (links.get("verifies") or links.get("relates")): # Save the link to test/plan/story metadata on disk for tmt_object in tmt_objects: