Use the "external references" field as the source of bug links 79/35379/5
authorJozef Behran <jbehran@cisco.com>
Wed, 24 Feb 2016 14:46:15 +0000 (15:46 +0100)
committerJozef Behran <jbehran@cisco.com>
Thu, 25 Feb 2016 16:21:57 +0000 (17:21 +0100)
The Report_Failure_And_Point_To_Linked_Bugs keyword now uses
the "external references" field to search for linked bugs.

Change-Id: Ic62550889e8cb9911201ab373f4b315ef0bfb85b
Signed-off-by: Jozef Behran <jbehran@cisco.com>
csit/libraries/Utils.robot

index aed9a3e895013a554722f818dc31b9455e703817..c95e9cbca47613aeb7d6bb1d8432343cd5ba5dcd 100644 (file)
@@ -93,7 +93,7 @@ Report_Failure_And_Point_To_Linked_Bugs
     ${reference}=    String.Replace_String_Using_Regexp    ${SUITE_NAME}_${TEST_NAME}    [ /\.-]    _
     ${reference}=    String.Convert_To_Lowercase    ${reference}
     ${msg}=    BuiltIn.Set_Variable    ... click for list of related bugs or create a new one if needed (with the${newline}"${reference}"${newline}reference somewhere inside)
-    ${bugs}=    BuiltIn.Set_Variable    "https://bugs.opendaylight.org/buglist.cgi?f1=longdesc&o1=substring&v1=${reference}&order=bug_status"
+    ${bugs}=    BuiltIn.Set_Variable    "https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&o1=substring&v1=${reference}&order=bug_status"
     BuiltIn.Set Test Message    ${msg}${newline}${bugs}${newline}${newline}${TEST_MESSAGE}
     BuiltIn.Log    ${msg}${newline}${bugs}