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

Accepted Answer
2 votes

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
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

25,788 views 2 7
Join discussion

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