Having a HTML field in .vm taking value from js

RAMANIGANTH_VELUR October 5, 2013

I have to code like below in the .vm file of a plugin.

# $foo="$customfield.id"

# $val ="$!value"

<input type="text"

name ="$foo"

value ="$val"

/>

i am very new to plug in developement and i am not sure of syntax.

Is it possible to set values to a custom field from some variable.

Thanking you in advance

Ramani

1 answer

1 vote
Aspect Infra Team
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.
October 6, 2013

as example: you have to add to you .vm

#if(($summary == '') &amp;&amp; ($issue.getIssueTypeObject().getName() == 'xxxx'))
#set ($summary = 'yyyyyyy')
#end

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events