mmbmha Contributor.
Contributor.
156 views

link defect to requirements using alm sync with TFS

Is there a way to sync the linked defects with requirments to TFS and if not is there a workaround to this 

Labels (3)
0 Likes
5 Replies
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Re: link defect to requirements using alm sync with TFS

Hi 

I would like to let you know that you need to create a new UDF in order to add the field for the linked defect and then mapping this UDF.

 

Honored Contributor.. arichtman Honored Contributor..
Honored Contributor..

Re: link defect to requirements using alm sync with TFS

+1 for this
0 Likes
mmbmha Contributor.
Contributor.

Re: link defect to requirements using alm sync with TFS

Can you please elaborate more? when I link requirements to defect in alm how to transfer this information to TFS
0 Likes
mmbmha Contributor.
Contributor.

Re: link defect to requirements using alm sync with TFS

i tried to write script to get this information from the database but it prints only the first recored can any one help with this

 

 

dim com
dim rec
dim td
set td = TDConnection set com = td.Command com.CommandText ="SELECT RQ_REQ_NAME,BG_RESPONSIBLE AS owner FROM BUG defect INNER JOIN LINK defect_link ON defect.BG_BUG_ID = defect_link.LN_BUG_ID AND defect_link.LN_ENTITY_TYPE = 'REQ' INNER JOIN REQ requirement ON requirement.RQ_REQ_ID = defect_link.LN_ENTITY_ID LEFT JOIN ALL_LISTS test_folder ON defect.BG_SUBJECT = test_folder.AL_ITEM_ID LEFT JOIN RELEASE_CYCLES release_cycle ON defect.BG_TARGET_RCYC = release_cycle.RCYC_ID INNER JOIN REQ_TYPE requirement_type ON requirement.RQ_TYPE_ID = requirement_type.TPR_TYPE_ID WHERE defect.BG_BUG_ID = 8"
set rec = com.Execute
MsgBox(rec(0)) MsgBox(rec(1))
rec.MoveNext()
MsgBox(rec(0)) MsgBox(rec(1))

 

 

0 Likes
Highlighted
Honored Contributor.. arichtman Honored Contributor..
Honored Contributor..

Re: link defect to requirements using alm sync with TFS

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.