Forums

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

Can I link my custom web item (Button) to a Jira Screen?

Dylan Chrispin
May 25, 2021

I have created a custom web item in the form of a button using script fragments.

I require this button when clicked to load a Jira screen that is not set to any of the default actions (Create, Edit or View). 

 

In theory this shouldn't be too hard as the feature described works with workflow transitions however I can not seem to get anything to work or find anything on the internet.

 

Does anybody have a solution that will allow me to link my button to a screen?

 

 

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
PD Sheehan
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 Champions.
November 2, 2019

This line does an implicit collection of all the "full_name" from all the items (that's what the * does).

def repoNames = repos["items"]*."full_name" 

So instead, just do your own collection:

def repoNames = repos["items"].collect{"${it."full_name"} ${it."node_id"}"} 
Dong Park
Contributor
November 4, 2019

That work, thanks!

TAGS
AUG Leaders

Atlassian Community Events