-
Bug
-
Resolution: Duplicate
-
Low
-
None
-
6.6.0
-
6.06
-
Regression from https://jira.atlassian.com/browse/GHS-11025
Steps to reproduce
- Create two Sprint - Sprint 1 and Sprint 2
- Create two issues under the same project
- Assign these two issues to Sprint 1
- Go to issue navigator bulk edit these two issues > change Sprint > Sprint 2
Expected behaviour
Issues are successfully being change to Sprint 2
Actual behaviour
The following error occur:
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 'convertEditValueToObjects' in class com.atlassian.greenhopper.customfield.sprint.SprintCFType threw exception com.atlassian.jira.issue.customfields.impl.FieldValidationException: Sprint id must be a number: Sprint 2 at com.pyxis.greenhopper.jira:gh-sprint//templates/greenhopper/jira/customfield/sprint/edit-sprint.vm[line 3, column 57] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) 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 org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.Template.merge(Template.java:328) at org.apache.velocity.Template.merge(Template.java:235) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:381) at com.atlassian.velocity.DefaultVelocityManager.writeEncodedBodyImpl(DefaultVelocityManager.java:117) at com.atlassian.velocity.DefaultVelocityManager.writeEncodedBody(DefaultVelocityManager.java:97) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.toWriterImpl(DefaultVelocityTemplatingEngine.java:146) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.asHtml(DefaultVelocityTemplatingEngine.java:134) at com.atlassian.jira.plugin.AbstractJiraModuleDescriptor.writeHtml(AbstractJiraModuleDescriptor.java:133) ...
Environment:
- JIRA 6.3.8
- JIRA Agile 6.6.0
- is duplicated by
-
JSWSERVER-11256 When bulk editing issues setting the sprint field to an invalid value, a stack trace appears instead of a friendly message explaining the problem
- Closed