I am trying to use AUI Single Select in my add-on for Jira Cloud. https://docs.atlassian.com/aui/6.0.9/docs/single-select.html
Since it's an experimental AUI, they required the web resource key. I am not sure where I can specify this resource key. My goal is to build a drop down and the user can select an option. After they select an option, it will display some sort of data.
I follow ACE framework like below example:
https://developer.atlassian.com/cloud/jira/platform/project-activity/
Thank you so much for your help.
Hi @Vi Phung
Try adding this 2 lines in your .hbs <head> section:
<script src="//aui-cdn.atlassian.com/aui-adg/6.0.6/js/aui-experimental.js"></script>
<link rel="stylesheet" href="//aui-cdn.atlassian.com/aui-adg/5.8.12/css/aui-experimental.css" media="all">
Hope this helps
hi Carlos. Thank you for your fast respond. I have tried to add those 2 lines but it wouldn't work. Do you know how I can add in the resource key "com.atlassian.auiplugin:aui-select" as requirement?? I am not sure how I can add this in. Maybe that's the reason why it can't recognize the AUI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry to hear that. I believe the problem is that the key you mention is only available for server apps, not the ACE framework.
Please check this url: https://aui-cdn.atlassian.com/
It describes how to add different AUI components.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hey @Charly [DEISER], thank you so much for showing me that link for aui. Turned out the ACE framework does not have the updated aui library. I replaced all links with the updated version and it worked! Yay!
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good to know! Can you please share the right links in case anybody else needs them?
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes. it was the link you gave me: https://aui-cdn.atlassian.com/
Copy AUI Core, Experimental components, Datepicker & Soy template--> go to layout.hbs --> paste those script resources and link in <head> --> delete the old version ones.
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.