Forums

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

Scriptrunner Web Fragments: can I link a specific modal screen to button?

Dmitry Tyomkin September 11, 2017

I am looking to open a modal screen upon click on the button I define in Scriptrunner Web Fragments, I have a screen defined but am unsure how to address the screen (direct URL) in fragment confirguration. Is there such a way?

1 answer

0 votes
Thanos Batagiannis [Adaptavist]
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.
September 11, 2017

Hi Dimitry,

The custom web item fragment has a link text field that you can add the link.

If you want to open a dialog inside the page you have to hit a rest endpoint that will return to you a dialog, there is an example of returning a simple dialog in the documenation

Is the screen you want to return a Jira screen ?

regards, Thanos

Dmitry Tyomkin September 11, 2017

Thanks Thanos. Correct, I would like the button to invoke a Jira screen.

Thanos Batagiannis [Adaptavist]
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.
September 11, 2017

hmm I do not think that this is going to be straigthforward. Which screen is this ? (issue realted, tranistion screen )

Dmitry Tyomkin September 11, 2017

Issue related, like "enter the value of this field" screen

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events