Yes I was able to make this work on Jira 7.5 server. Use the below html code in the custom field description. Replace the custom field Id to the correct one.
<script type="text/javascript">
AJS.$(document).ready(function() {
AJS.$("#field-customfield_15901").addClass("collapsed").removeClass("expanded")
});
</script>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not sure if you can do that with the JIRA Multi Line Custom field natively.
If you really want to hack it, just put a javascript in (anywhere in the create Screen or in the custom field descrption) to explicitly collapse it. Find the div ID then put a class attribute like this:
<div id="field-customfield_xxxx" class="twixi-block collapsed">
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I put this code in the field description (replacing id), but it didn't affect neither the new nor the previously created issues. Anyway, thanks for the idea.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Get the html codes and find the right code. Maybe I got it wrong or we have different JIRA versions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've checked, the HTML code is correct. But it is ignored for some reasons. If I expand field at any issue, it expands in other issues too, as well as in the just created issues (class="twixi-block expanded). If I collapse field, same things happens everywhere (class="twixi-block collapsed).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yep. JIRA will remember your personal settings on stuff (what tabs are opened, what sections are expanded)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.