Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

change the issue link from browse to service portal

YaliZhang October 17, 2022


I try to customise the filter-results-gadget.xml for the dashboard. normally when we get a filter result, each issue have a issue link,  this issue link is associated to the baseUrl: "__ATLASSIAN_BASE_URL__", the link for each issue is (https://SampleCompany.com/jira/browse/Issue_ID).

Now we want to have a filter-results-gadget just for the service project, the issue link can be associated to the customer request("https://SampleCompany.com/jira/servicedesk/customer/portalPortal_ID/Issue_ID").

but I cann't find the code for tje link of each issue result in filter-results-gadget.xml,and don't know how to get the Url Link for each result issue.
Second I can't understand the below code, how can we get the "filter-results-content"

template: function (args) {
var gadget = this;
this.getView().empty();
this.getView().attr("id", "filter-results-content");
.................
}

thanks for your help in advance

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 17, 2022

There's no way to do this.

There's a reason it's not possible - Atlassian simply hasn't coded for it because it's not really what the dashboard is for. 

The dashboards are reporting portals effectively, intended for Jira users (not customers, but the developers, agents and task-tracking people who log in to use Jira) to see stuff they might find useful.  That means their gadgets are all focused on telling people stuff about issues.  

You are looking at requests, not issues here.  Requests are the interface between Jira issues that your people work with and the customers who don't get to see the issues.

And the gadget you are looking at works with issues, not requests!

If I were the product owner for Jira, I'd create a new feature request, for gadgets that look at the requests instead of the issues.

Suggest an answer

Log in or Sign up to answer