I contact you because I have a question about gadget plugin.
I try to modify the filter-results-gadget 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 baseUrl should be the browse(https://SampleCompany.com/jira/browse).
Now we want to write a filter-results-gadget just for the service project, so we hope the issue link can be associated to the customer request("https://SampleCompany.com/jira/servicedesk/customer/portal").
Instead of using "__ATLASSIAN_BASE_URL__" I changed the linkStart to
var linkStart = "<a href=\"https://SampleCompany.com/jira/servicedesk/customer/portal" + args.issueTable.url + "\" target=\"_parent\" title=\"" + title + "\">";
but it doesn't work, the issue link still go to baseUrl. So I want to ask if I want to change the the issue link, what should I do?
@YaliZhang Welcome to the Atlassian community
The proper structure for the link would be the following: https://yourURL.com//servicedesk/customer/portal/6/IN-8
This is broken down into the following: https://Base_URL/servicedesk/customer/portal/Portal_ID/Issue_ID
You will have to use that format to access the issues via the portal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.