Forums

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

Include javascript into a web-item

Olivera Tancheva January 31, 2019

Hello everyone, 

I want to make a dynamic button which link and name would automatically change on user set.

I have a webwork that enables the user to set two parameters in js:

saveConfig: function(){
this.model.set("parameter3", $("#parameter3").val());
this.model.set("parameter4", $("#parameter4").val());
$("#configJson").val(JSON.stringify(this.model));

 

I want to include these two parameters in my web-item:

<web-item name="Security Incident" i18n-name-key="security-incident.name" key="security-incident" section="system.top.navigation.bar" weight="1000">
<description key="security-incident.description">The Security Incident Plugin</description>
<label key="security-incident.label"></label>
<link linkId="security-incident-link">https://jira.seavus.com/jira/servicedesk/customer/portal/6</link>
</web-item>

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events