After migrating the data from Jira cloud to Jira server, we have observed that for issuetype = 'subtask', the description field is giving below error message.
Kindly provide me your valuable suggestions
An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getHtml' in class com.atlassian.jira.web.component.subtask.SubTaskSequenceColumnLayoutItem threw exception java.lang.NullPointerException: null value in entry: actualSequence=null at templates/jira/issue/table/macros.vm[line 117, column 34] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:342) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:507) at
You will need some code to do that. Either a custom field type that can support it, or injected javascript.
The Behaviours module in the script runner add-on can do this too, it does the javascript for you.
Yes Nic,
I am using this below code using JavaScript through the plugin
function fruitnewField(){
$('#customfield_14201-1').click(function() { // Fruit cf
if (document.getElementById('customfield_14201-1').checked){ AJS.$("#customfield_14202").closest('div.field-group').show(); //other cf
AJS.$(":input[name='customfield_14203']").closest('fieldset.group').show(); //other cf
AJS.$("#customfield_14204").closest('div.field-group').show(); //other cf
}
else{
AJS.$("#customfield_14202").closest('div.field-group').hide();
AJS.$(":input[name='customfield_14203']").closest('fieldset.group').hide();
AJS.$("#customfield_14204").closest('div.field-group').hide();
}
});
When I checked check box other cf are shows and when I unchecked it cf are hides.
But the problem is how to hide these other custom fields on the load of create screen when the check box is unchecked defaultly.
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.