Forums

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

Jira script runner custom web item link redirect link condition

Oz_Dagmi May 21, 2018

Hello.

on the custom web item , under the script fragments.

Its possible to set a condition to the link redirection.

in case of specific custom field value the link will redirect http://example.com/condition1

and in case of other value the link will redirect to http://example.com/condition2

without creating additional custom web items 

 

Thanks

Oz

1 answer

0 votes
Alexey Matveev
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.
May 21, 2018

Hello,

You need to create two web items with different links and define the Condition field for each web item. One of them must be shown.

Oz_Dagmi May 21, 2018

Hello @Alexey Matveev

thanks for you're answer.

and in case of 20 different parameters , and each parameter is require different link.

i need to create 20 web items,

there is no way to set a switch ,case condition with 1 web item ? 

 

Thanks

Oz  

Alexey Matveev
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.
May 21, 2018

I do not know of such.

Suggest an answer

Log in or Sign up to answer