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

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

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.

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?

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 53m ago in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

42 views 3 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you