Hi,
I'm trying to set a Text field to bold in a view screen.
Started with JS in Announcement Banner, it works but breaks UI in many places.
Here is the code:
<script type="text/javascript">
(function($){ jQuery(document).ready(function($){
document.getElementById("customfield_10700-val").style.fontWeight = "900";
document.getElementById("customfield_10700-val").style.fontWeight = "bold";
document.getElementById("customfield_10700-val").style.textTransform="uppercase"
$(function(){
});
}); })(jQuery);
(AJS.$);
</script>
I am now trying to find a new way to do this, in a post-function where I get the custom field text value:
"customfield_10700")<br>def txtfieldval = issue.getCustomFieldValue(txtfield) def txtfield = customFieldManager.getCustomFieldObject(
Is there a way to manipulate formatting with Atlassian SDK/API?
I would need to set that Text Field renderer to 'Wiki Style Formatting' in Field Configuration, I'm just trying to find ways to manipulate those variables (Font size, font weight etc)
Many thanks