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

2 votes
Accepted answer

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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,102 views 4 9
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