Last modified by Normann P. Nielsen on 2014/09/01 14:58

Show last authors
1 From viewing the source:
2
3
4 {{code}}
5 div id="customfield_10901-val" class="value type-textfield" data-fieldtype="textfield" data-fieldtypecompletekey="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
6
7 servername
8
9
10
11 </div>
12
13
14
15
16 {{/code}}
17
18
19
20 its possible to the the field value out.
21
22 Here, an alert will show we actually extracted the value:
23
24
25 {{code}}
26 <script language=javascript>
27 alert(AJS.$("#customfield_10901-val").text().trim());
28 </script>
29 {{/code}}