Forums

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

Is it possible to load a Java Servlet plugin in the Customer Portal?

Jackson Farnsworth
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.
December 29, 2017

Currently to access a plugin I created, I have to navigate to "instance.com/plugins/servlet/myServletPlugin", but from a Service Desk customer account that page is inaccessible. is there a way to move the servlet into the Service Desk environment?

Thanks for any help you can provide

1 answer

1 accepted

4 votes
Answer accepted
Jackson Farnsworth
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.
January 2, 2018

For the curious since the documentation for plugins is horribly outdated and patchy:

To let a customer user see a servlet plugin, add the following to atlassian-plugin.xml

<customercontext key="keyName" path="/plugins/servlet/myServletUrlPatternHere">
<uri regex=".*"/>
</customercontext>

 

Hopefully that saves someone else the trouble of figuring it out.

Hua Soon SIM _Akeles_
Atlassian Partner
January 19, 2018

Thanks for sharing Jackson. The information is useful :)

Did you manage to get the decorator to render the header and footer like the Customer Portal?

Jackson Farnsworth
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.
January 19, 2018

You're welcome :)

Never found out quite how to implement that, if you find out I'd be interested to know myself.

Suggest an answer

Log in or Sign up to answer