Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

What should be as #customControlHeader in jira 6.0.5 ?

dhaval soni
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.
July 29, 2013

Can any one share me what should be "#customControlHeader" and "#customControlFooter" for jira 6.0.5 - velocity template. I am using this for custom field plugin development.

Currently, my template file look as below:

#customControlHeader ($action $customField.id $customField.name $fieldLayoutItem.required $displayParameters $auiparams)

<table><tr><td>
....

..
..

</td></tr></table>

#customControlFooter ($action $customField.id $fieldLayoutItem.fieldDescription $displayParameters $auiparams)

Problem is : In jira, administtrators >> custom fields >> edit custom field and add javascript in description box >> it is unable to execute and it just prints as a text below the field "descrption" over the screen where it is added.

Please any one let me know how it could resolve ?

thanks

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
dhaval soni
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.
July 29, 2013

Its resolved.

As just found, i have to add below line at top:

#disable_html_escaping()

it seems html was esacped.

thanks :)

TAGS
AUG Leaders

Atlassian Community Events