We're updating the issue view to help you get more done. 

NumberFormatException with sprints

Description

From Kibana:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 java.lang.NumberFormatException: For input string: "Ending 06/Oct - Sprint 42, Ending 20/Oct - Sprint 43, Ending 01/Dec - Sprint 46, Ending 15/Dec - Sprint 47" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Long.parseLong(Long.java:589) at java.lang.Long.parseLong(Long.java:631) at com.codebarrel.automation.rulecomponent.jira.common.issueconfigfields.software.SprintField.getValueToSave(SprintField.java:98) at com.codebarrel.automation.rulecomponent.jira.common.issueconfigfields.software.SprintField.addOperationToBuilder(SprintField.java:59) at com.codebarrel.automation.rulecomponent.jira.common.IssueFieldsBuilderImpl.lambda$buildRequest$0(IssueFieldsBuilderImpl.java:99) at java.util.ArrayList.forEach(ArrayList.java:1249) at com.codebarrel.automation.rulecomponent.jira.common.IssueFieldsBuilderImpl.buildRequest(IssueFieldsBuilderImpl.java:85) at com.codebarrel.automation.rulecomponent.jira.action.create.CreateIssueActionExecutor.buildRequestAndCreateIssue(CreateIssueActionExecutor.java:96) at com.codebarrel.automation.rulecomponent.jira.action.create.CreateIssueActionExecutor.lambda$execute$0(CreateIssueActionExecutor.java:78) at java.util.ArrayList.forEach(ArrayList.java:1249) at com.codebarrel.automation.rulecomponent.jira.action.create.CreateIssueActionExecutor.execute(CreateIssueActionExecutor.java:77) at com.codebarrel.automation.api.service.ComponentChainImpl.doExecute(ComponentChainImpl.java:86) at com.codebarrel.automation.api.service.AutomationExecutionServiceImpl.executeRule(AutomationExecutionServiceImpl.java:237) at com.codebarrel.automation.api.service.AutomationExecutionServiceImpl.lambda$executeRule$2(AutomationExecutionServiceImpl.java:150) at com.codebarrel.automation.api.execution.NoopIndexingSafeThreadLocalExecutor.execute(NoopIndexingSafeThreadLocalExecutor.java:15) at com.codebarrel.automation.api.service.AutomationExecutionServiceImpl.executeRule(AutomationExecutionServiceImpl.java:132) at com.codebarrel.automation.api.service.AutomationExecutionServiceImpl.lambda$processEvent$1(AutomationExecutionServiceImpl.java:109) at java.util.ArrayList.forEach(ArrayList.java:1249) at com.codebarrel.automation.api.service.AutomationExecutionServiceImpl.processEvent(AutomationExecutionServiceImpl.java:109) at com.codebarrel.automation.api.service.AutomationExecutionServiceImpl$$EnhancerByGuice$$a6289303.CGLIB$processEvent$0(<generated>) at com.codebarrel.automation.api.service.AutomationExecutionServiceImpl$$EnhancerByGuice$$a6289303$$FastClassByGuice$$e22110f0.invoke(<generated>) at com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228) at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:75) at com.codebarrel.lambda.util.TimingInterceptor.invoke(TimingInterceptor.java:38) at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:75) at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:55) at com.codebarrel.automation.api.service.AutomationExecutionServiceImpl$$EnhancerByGuice$$a6289303.processEvent(<generated>) at com.codebarrel.aws.lambda.automation.QueueConsumer.executeItem(QueueConsumer.java:101) at com.codebarrel.aws.lambda.automation.QueueConsumer.lambda$consumeItem$0(QueueConsumer.java:60) at java.util.Optional.ifPresent(Optional.java:159) at com.codebarrel.aws.lambda.automation.QueueConsumer.consumeItem(QueueConsumer.java:60) at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at lambdainternal.EventHandlerLoader$StreamMethodRequestHandler.handleRequest(EventHandlerLoader.java:350) at lambdainternal.EventHandlerLoader$2.call(EventHandlerLoader.java:888) at lambdainternal.AWSLambda.startRuntime(AWSLambda.java:281) at lambdainternal.AWSLambda.<clinit>(AWSLambda.java:64) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at lambdainternal.LambdaRTEntry.main(LambdaRTEntry.java:94)
1 2017-12-12T04:04:01.200Z <7bd12d26-def1-11e7-a6a5-5fe1e4dbabd2> <> ERROR ComponentChainImpl:111 Unexpected runtime error executing component for config 'ComponentConfigBean{id='111580', component=ACTION, parentId='null', schemaVersion=4, type='jira.issue.create', value=IssueActionConfig{operations=[FieldOperation{fieldId='summary', fieldType='summary', type=SET, value=Related Task - {{issue.summary}}}, FieldOperation{fieldId='description', fieldType='description', type=SET, value=Task created to facilitate delivery of enquiry "{{issue.summary}}"}, FieldOperation{fieldId='project', fieldType='project', type=SET, value=10800}, FieldOperation{fieldId='issuetype', fieldType='issuetype', type=SET, value=10002}, FieldOperation{fieldId='assignee', fieldType='assignee', type=SET, value=-4}, FieldOperation{fieldId='customfield_10005', fieldType='com.pyxis.greenhopper.jira:gh-epic-label', type=SET, value={{issue.epiclink}}}, FieldOperation{fieldId='customfield_10007', fieldType='com.pyxis.greenhopper.jira:gh-sprint', type=SET, value={{issue.sprint}}}], advancedFields='null', sendNotifications=false, useLegacyRendering=false}, children=[ComponentConfigBean{id='111592', component=ACTION, parentId='111580', schemaVersion=1, type='jira.issue.link', value=LinkIssueActionConfig{linkType='inward:10201', issue='-1981'}, children=[], optimisedIds=[]}], optimisedIds=[]}':

Environment

Status

Assignee

Scott Harwood

Reporter

Huw Evans

Labels

Links

0

Priority