How to click-through to incident in chart detail items
I have a simple SQL Table Chart widget where I have checked the "Display Selected Item Details" option. When I click on a column in the chart, I see the workitem details of the underlying SQL Query. However, when I click on a row in the Item Details part, it simply opens the search page. What do I need to do to click through straight to the incident itself ?
Best Answer
-
Brian_Wiest Customer Super IT Monkey ✭✭✭✭✭This one burned me for some time as well.
The Cireson scripts look for specific wording on columns for its internal functions.
To get the click into trigger to work you have to made sure the Work Item Id is labeled like
SELECT wi.WorkItemId as [Id]
Case specific. Once in that format it will properly trigger to the matching work item.
Same is true for your date columns if you want localisations to work.5
Answers
The Cireson scripts look for specific wording on columns for its internal functions.
To get the click into trigger to work you have to made sure the Work Item Id is labeled like
SELECT wi.WorkItemId as [Id]
Case specific. Once in that format it will properly trigger to the matching work item.
Same is true for your date columns if you want localisations to work.
@brian_wiest Hi Brian, could you look at the script below to help me with the displaying of the data please.
sorry for hijacking your question @stephane_bouillon
No Idea what you are asking for. The attached script returns two counts values to be used in SQL chart widgets.
@Brian_Wiest sorry its a dashboard for change control to show the changes started ontime, all I can get is the figures, but would like to be able to drill through to the details.
Don't worry.
What you will want to do is build a page with a few SQL widgets to have the various content displayed.
Here is my SQL query for Change Management where we are looking at the stage value of the related activity to know where it is in the process. The key to this is your change process can only have one activity running at a time for the SQL to render correctly.
HTH
If you want that query to display as a chart with a detail display, you will have to change the query so that it returns the Category and the Work Item Id. Something like this:
The portal should ask you which value you wish to group by. You can specify Category for this and the chart will show the number of work items in each category. You can click on each section to view the work items in that category.