Creating a hyperlink text in Atlassian Analytics to open a Jira Align work item detail panel

If you create a chart like a table in Atlassian Analytics with Jira Align data from Enterprise Insights, you can create hyperlinked text with the chart to open a work item detail panel slide out in Jira Align so that your users can view details of a work item in Jira Align. It's an easy way improve the user experience of your dashboard. This article provides instructions on how to create hyperlinked text in Atlassian Analytics with your data in Enterprise Insights using simple expressions to open the detail panel slide out for a work item in Jira Align.

 

Note: If you have configured single sign-on (SSO) authentication with Jira Align, the detail panel slide out won’t open after user logins through SSO after clicking a hyperlinked text in Atlassian Analytics. The user will be directed to the Jira Align home page. Once a user has authenticated with SSO in their browser instance, the next time the detail panel slide out will open directly from a hyperlinked text in Atlassian Analytics

 

  1. Add a work item ID (ex. [Feature ID]) column to a Visual SQL query and select Run query.image-20231107-215851.png

  1. In the Result table, select Formula column and Custom. Add a unique identifier value of your choice with single quotes (ex. 'Server') in the expression field. Select Save.image-20231107-223550.png

  1. Rename the Custom Formula column name to a name of your choice (ex. Server Join).image-20231107-223740.png

  1. Select Reorder columns. Reorder the new column to be the first column in the result table by dragging and dropping it. Then select Save.image-20231107-223951.png

  1. Select the Add query dropdown and select New query to create a new query.image-20231107-224142.png

  1. In the new query, add the [Server] column in the [Site Metadata] table which contains the URL of the Jira Align instance. Select Run query.image-20231107-224417.png

  1. In the Result table, select Formula column and Custom. Add the same a unique identifier value that you added to the work item query with single quotes (ex. 'Server') in the expression field. Select Save.image-20231107-224836.png

  1. Rename the Custom Formula column name to a name of your choice (ex. Server Join).image-20231107-224948.png

  1. Select Reorder columns. Reorder the new column to be the first column in the result table by dragging and dropping it. Then select Save.image-20231107-225045.png

  1. In the data pipeline, click on the pencil icon in the query join row. Select Inner in the Join dropdown. Select Save.image-20231107-225336.png

  1. Hide the new column (first column) by selecting the eye icon in the column header in the Result table.image-20231107-225803.png

  1. Using the solution detailed on this Atlassian Community article, Creating Dynamic Links to Jira Align Work Items for Custom Jira Align Enterprise Insights Reports. Select Formula column in the Result table and Custom to create a custom expression. In the expression field, enter the following “Server” || ‘/[Grid Name]Grid?FirstTime=True&[Object Type]ID=’ || “[Work item ID column]”. Replace [Grid Name] and [Object Type] with the corresponding values for the work item in the table of the community article. [Work item ID column] is the column name of the column with the work item ID value (ex. [Feature ID]). Select Save.image-20231107-225045.png

  1. Rename the Custom Formula column name to a name of your choice (ex. URL).image-20231107-233633.png

  1. Hide the Server column by selecting the eye icon in the column header in the Result table.image-20231107-233424.png

  1. In the Result table, select Formula column and create link with title. Then select the work item ID column (ex. [Feature ID]) for the Select Title Text Column and the column that contains the URL path (ex. URL) for the Select Link Column. Select Save.image-20231107-234136.png

  1. Hide the work item ID column (ex. [Feature ID]) by selecting the eye icon in the column header row in the Result table.image-20231108-161132.png

  1. Rename Md Link column name to the work item ID column name (ex. [Feature ID]).image-20231108-161334.png

  1. Test the hyperlinked text by selecting a value in the column in the Chart preview.image-20231108-161510.png

 

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events