Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

How can I create a report which will display a defect "view issue" or "view issue in new window" link?

How can I create a report which will display a defect "view issue" or "view issue in new window" link?

Problem:

How can I create a report which will display a defect "view issue" or "view issue in new window" link?

Resolution:

ANSWER
----------------------------------
When viewing data from a report created using the report builder the "view issue" or "view issue in new window" Defect ID link / icons are not included by default, e.g.:


To add Defect ID link / icons:

  • Go to the "PROPERTIES" tab
  • "EDIT" the report
  • Choose "Advanced Query"
  • Remove the alias from the column DefectID (i.e. "Defect#") and add the r.ProjectID field.


Original query:

SELECT r.DefectID "Defect Number:", r.Custom1 "Engineer:" FROMIM_V_Defects r WHERE r.IssueID_pk IN (SELECT DISTINCT issues.IssueID_pk asid FROM IM_V_Defects issues WITH (NOLOCK) WHERE issues.ProjectID = 1 ANDissues.DefectID> ${issueProp_DefectID_0|3000|issueProp_DefectID}) ORDER BYr.DefectID ASC , r.Custom1 ASC



Query after amendment:

SELECT r.DefectID, r.ProjectID, r.Custom1 "Engineer:" FROM IM_V_Defectsr WHERE r.IssueID_pk IN (SELECT DISTINCT issues.IssueID_pk as id FROMIM_V_Defects issues WITH (NOLOCK) WHERE issues.ProjectID = 1 ANDissues.DefectID> ${issueProp_DefectID_0|3000|issueProp_DefectID}) ORDER BYr.DefectID ASC , r.Custom1 ASC



Please note that the alias ("Defect Number:") has been removed from the query and the column (r.ProjectID) has been added. The result of these amendments is that the defect can now be directly accessed from the report by selecting the icons to the left of the Defect ID, e.g.:


This behavior will be included by default in future versions.

Old KB# 23722

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 19:38
Updated by:
 
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.