I have developed a cloud plugin which has a panel in the request view of the customer portal in JIRA Service Desk (cloud). I am trying to do the same now in a P2 plugin for JIRA Service Desk Server. In the cloud plugin, I was able to create a panel using info from here:
The information in that link is specific to how to do it for the cloud, I cannot find a doc that has the same info for the server version. The server documentation for JIRA Service Desk doesn't mention UI integration much at all. I tried creating a <web-panel> in my atlassian-plugin.xml that uses location="serviceDeskPortalRequestViewPanel" but it didn't work.
Any pointers to the right direction would be appreciated, or if this is not possible (I would think it should be).
This will be available in the upcoming 3.2 release. As you guessed, you'll be working with
<web-panel>s. The location for the web-panel you're looking for is
servicedesk.portal.request.panels - we'll document other existing locations once the release goes out.
Thanks, I have downloaded the EAP of 3.2. Do you mind me also asking this: to have web resources included on this page (like css or js file for example) what context would I use? I read in other Atlassian answers to use "customerportal", but it doesn't seem to be working for me (files don't seem to get loaded from using browser dev tools) unless I am doing something wrong:
<web-resource key="web-resources-customer-portal" name="Customer Portal Web Resources"> <dependency>com.atlassian.auiplugin:ajs</dependency> <resource type="download" name="test.css" location="/css/test.css"/> <resource type="download" name="example.js" location="/js/example.js"/> <resource type="download" name="images/" location="/images"/> <context>customerportal</context> </web-resource>
So adding JS and CSS resources on the page is only possible on Server. If you're on Server, yes "customerportal" should work. Are you sure your plugin is installed and enabled in "Manage Add-ons"? You might want to verify that those resources are indeed bundled in your plugin JAR as well.
Gregory or Mina,
Would you be so kind to clue me in on a similar question? I am also trying to integrate to the sub header panel in the customer portal. I correctly guessed the location of "servicedesk.portal.subheader", however I want to restrict which pages the add-on shows on. In the cloud docs it mentions there is a "pages" property where you can put a list of pages to restrict the visibility. However, for server I haven't stumbled upon how to do this after some trial and error. Can you tell me how to do this for server?
Thanks in advance.
Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events