Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Web resource for AUI Single Select

Vi Phung February 14, 2018

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.

1 answer

1 accepted

0 votes
Answer accepted
Charly [DEISER]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 14, 2018

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

Vi Phung February 14, 2018

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.

Charly [DEISER]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 14, 2018

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

Vi Phung February 14, 2018

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

Charly [DEISER]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 14, 2018

Good to know! Can you please share the right links in case anybody else needs them?

Cheers

Vi Phung February 14, 2018

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. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events