The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Help Center link navigates to native service desk, instead custom

Roman Gordienko
July 20, 2018

Hi! I am new at JIRA-plugins and have next issue:
 
For example, service-desk plugin has domain support.companyname.com, when user opens this link, he sees custom service desk. When he clicks some request link - redirect to to native request form happened(url now is support.companyname.com/servicedesk/customer/portal/6/create/50). From this moment, user is on native service desk, and when he presses "Help Center" link - he's redirected to native service-desk, but I want that link to redirect back to custom plugin.

I thought about two solutions:

1. inject .js script, that will change <a> tag src attribute - at this moment I didn't find any opportunities how to realize script injection inside native service desk pages;

2. not use native links at all, and render all stuff by plugin itself, login form renders this way into .vm template - 

ServiceDesk.Templates.Customer.loginForm(data)

Method above returns html of login page, I tried to find full list of available api, but to my surprise I didn't find it.

First option seems more attractive, because It is only needed to change main service desk face, the rest of native functionality are fine.

Will be glad to any help, especially references to docs.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Roman Gordienko
July 23, 2018
TAGS
AUG Leaders

Atlassian Community Events