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).
Community moderators have prevented the ability to post new answers.
Hey Brad,
This will be available in the upcoming 3.2 release. As you guessed, you'll be working with <web-item>
s and <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>
Thanks again!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Brad, I just answered your other question, but I'll leave this here too for anybody else: The dev docs are now on https://developer.atlassian.com/jiradev/jira-applications/jira-service-desk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Brad, just confirming here too: this will be available in JSD server v3.2.0 (so next release), we will have a development doc for server as well!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Mina, sorry I should have checked the other site first. Thanks again!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.