Hi guys,
I'm trying to add a new action on JIRA Service Desk - Customer Portal (ticket detail page).
I'd like to create a similar action like "Share". The problem is: I'm not being able to put the inline-dialog working.
I've ried to create a web-panel a and simply added the https://docs.atlassian.com/aui/latest/docs/inline-dialog.html as explained on Atlassian AUI documentation but without success.
Any suggestions?
Thanks.
Rui Rodrigues
Community moderators have prevented the ability to post new answers.
hmm try removing this line from your atlassian-plugin.xml
<dependency>com.atlassian.auiplugin:ajs</dependency>
Many thanks Mina Samy [Atlassian]. Your suggestion has worked. So, another question, How can I associate a inline-dialog to an action? Do I need to crate a web-panel to add the inline-dialog content?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Rui Rodrigues you shouldn't need a webpanel. An easy way you can achieve this is with JS. Keep your <web-item> and then in JS find it and replace the html with the <aui-inline-dialog> html. I believe that should work.
Note: the <context>jsd-menu</context> that you have is incorrect. It should be <context>servicedesk.portal</context> instead.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rui,
Are you on JSD server or cloud? And when you say inline-dialog doesn't work, what do you mean? What happens when you click on your item?
If you don't mind, sharing your source code would be helpful too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mina Samy. I'm on JSD Server.
I've created a web-panel and I just copy and past the example from inline dialog documentation, the first one, into vm template.
<a data-aui-trigger aria-controls="more-details" href="#more-details"> Inline dialog trigger </a> <aui-inline-dialog id="more-details"> <p>Lorem ipsum.</p> </aui-inline-dialog>
I've alse added this on VM to load the inline-dialog resources because it doesn't belong to core
$webResourceManager.requireResource("com.atlassian.auiplugin:aui-inline-dialog2")
Nothing happens when I click on link.
Just a note:
I'm using JIRA 7.2.4 and AUI version is 5.10.0
Do you need more info?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Rui Rodrigues do you mind sharing a .zip of your plugin? Very hard to know what's wrong otherwise...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi. You can find the zip here.
I have a web-item and a web-panel. The web panel has the sample from Atlassian AUI Inline-DIalog.
What's my need? I would like to create a custom action something like the Share action. When a user clicks on this new action, a inline-dialog must be opened.
If you need more finfo from my side, please tell me.
Note: I just create a web-panel to put the inline-dialog sample working, but without success. I think the problem is related with the inline-diolog dependency.
Thank you for your help.
Cheers,
Rui Rodrigues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm getting this error:
Uncaught Error: jira/featureflags/feature-manager missing wrm/data at s (batch.js?atlassian.aui.raphael.disabled=true&locale=en-US:1094) at o (batch.js?atlassian.aui.raphael.disabled=true&locale=en-US:1094) at c (batch.js?atlassian.aui.raphael.disabled=true&locale=en-US:1094) at window.require (batch.js?atlassian.aui.raphael.disabled=true&locale=en-US:1156) at Object.<anonymous> (batch.js?atlassian.aui.raphael.disabled=true&locale=en-US:2987) at t (batch.js?atlassian.aui.raphael.disabled=true&locale=en-US:2978) at Object.<anonymous> (batch.js?atlassian.aui.raphael.disabled=true&locale=en-US:2988) at t (batch.js?atlassian.aui.raphael.disabled=true&locale=en-US:2978) at Object.<anonymous> (batch.js?atlassian.aui.raphael.disabled=true&locale=en-US:2987) at t (batch.js?atlassian.aui.raphael.disabled=true&locale=en-US:2978)
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.