Linking to a report

You can share report data by linking to it from another web location.

Linking to a report

You can link to the report itself or to the graphical chart that represents it.

For example, suppose you submit a weekly report on the status of open defects in each component of the product. Let's also suppose that you have already configured a Project Metrics report showing the number of open Priority 1 defects for each component, and want to include that in your document. Here's how you can use the report and chart links:

  1. View the Project Metrics report that you have already configured, on the Metrics report page.
  2. On the Metrics report page, click Link to this chart.

    The URL, such as https://test.project.company.net/servlets/ReportLetView?xxx, takes you to a page which contains only the chart image.

  3. Embed the image in your weekly status document.

    To embed the image, copy the URL and use it as the source in an HTML image tag as follows:

    <img src="https://test.projects.company.net/servlets/ReportLetView?xxx">

  4. On the Metrics report page, click Link to this report.

    The URL, such as https://test. projects.company.net/servlets/ReportViewxx, takes you directly to the report.

  5. Alternately instead of steps 3 and 4 you can link the URL for the report with the image like this:

    <a href="https://test. projects.company.net/servlets/ReportViewxxx">
    <img alt="Number of Open P1 Defects per Component"
    title="Number of Open P1 Defects per Component"
    src="https://test.projects.company.net/servlets/ReportLetView?xxx"></a>

    When you click on the chart graphic that is embedded in your document, you are taken to the corresponding Metrics report page. The report and chart depict the state of the data at the point the data was last updated.

  6. If you do not want graph charts cluttering your project page, or taking time to load because they are all accessing the database to access the information dynamically, you can have a list of hyperlinks. When you click on these limks individually, they will generate the full report view
    • Report 1 > https://test. projects.company.net/servlets/ReportViewxx
    • Report 2 > https://test. projects.company.net/servlets/ReportViewxx
    • Report 3 > https://test. projects.company.net/servlets/ReportViewxx

Note: The embedded chart or the bookmarked page is generated according to the latest state of the data. For example, suppose you embedded a trend chart for defect counts on Dec 07, and the chart was an almost flat line from left to right for the displayed period of Dec 01 - Dec 07. Assume that on Dec 09 there was a spike in the defect count. When you view the chart at some later point after the data was updated, say on Dec 12, it will display the period of Dec 06 - Dec 12 with a spike in the middle.