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
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.