Forums

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

How to define a hyperlink in Behaviour script

Sharadkumar November 4, 2022

Hello,

I want to define a hyperlink in the behaviour script, So when creating a Jira ticket , they will see the link And click that url.

Condition is that Hyper link "google"to be visible at the bottom  not at the top.

This is my script but when i click on it while creating a ticket , it dont work..It works in view mode.

Can u plz help

 

My script 

 

def hyper="[google|http://google.com]";
def desc = getFieldById("description")
def defaultValue = """ """+ hyper+""";
*Change Description*

*Impact Assessment*


*Rollback Plan*

if (!desc.formValue) {
    desc.setFormValue(defaultValue)
   
}

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events