JIRA ScriptRunner create Issue Links with AUI

Hello,

 

I try to create Links to other applications from JIRA Issues

With the ScriptRunner Plugin I've created a Custom web item ("Test") but I can't show a AUI.

image2016-10-17 15:39:25.png

I want to create an AUI for my "Test" where I can type in (Text Field) something and the link should then be created with a groovy script using the input

 

In the web item I can only select

image2016-10-17 15:42:53.png

Is there a other way for doing that - I can't upload files to the server

 

4 answers

0 votes

Sorry, what's an "AUI"? In this context.

AUI = Atlassian User Interface (HTML and JavaScript)

For the Dialog I need a AUI

0 votes

I know what AUI stands for, but I don't know what you mean still. 

Let's forget about an AUI.

It sounds like what you want to do is add a javascript resource, and bind the click handler for that link to creating a dialog pane. Have a look at the js here: https://docs.atlassian.com/aui/latest/docs/dialog.html

Sry, I have misunderstood you


I will try to explain exactly what I want to do.

In a JIRA Issue, I can add Links to other Issues or create  a Weblink (as in the first picture above)

I want to create in this Dialog a new panel like in the second picture.

There I want to have an input field

then when i press Link

image2016-10-18 9:57:36.png

I want to run a groovy script in the background, which creates an Link using the value of the input field and display it in the Issue Links panel in the issue view (as like when you create a link to another plugin)

 

My questions/ problems:

how to create the view of the input field when i click on my panel ("Test" in the picture)?

(Which files do I need)

How to run a Script when i press Link?

Where to store that script?

 

I think it is not possible to create all the files in the JIRA ScriptRunner Webview?

Maybe it's easier to create a plugin than to try that with the ScriptRunner Plugin?

 

Thanks for your help

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,781 views 11 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot