You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hello,
I have made a project automation to send a webhook to an API in AWS when an issue in the projected is created. The automation logs show that it works, but my API logs never show it hitting. So i dug into the atlassian-jira.log and found that it was throwing an error when it ran.
Just for a little more detail, the webhook sends the ticket as a body.
Here is the error that i found:
2021-01-10 01:18:35,210 PsmqAsyncExecutors-then:thread-921 ERROR APIUser@me.com 45x250x1 nuwfb6 64.186.36.90,10.211.0.132 /rest/api/latest/issue [c.a.s.p.a.webhook.rulethen.IssueBeanFactory] create issue bean failed
com.atlassian.servicedesk.api.NoSuchEntityException: sd.api.error.unknown
at com.atlassian.servicedesk.plugins.automation.internal.EitherExceptionUtils.httpStatusCodeToException(EitherExceptionUtils.java:105)
at com.atlassian.servicedesk.plugins.automation.internal.EitherExceptionUtils.anErrorToException(EitherExceptionUtils.java:52)
at io.atlassian.fugue.Either$Left.fold(Either.java:586)
at com.atlassian.servicedesk.plugins.automation.internal.EitherExceptionUtils.anErrorEitherToException(EitherExceptionUtils.java:45)
at com.atlassian.servicedesk.plugins.automation.internal.execution.message.helper.IssueMessageHelperImpl.getIssue(IssueMessageHelperImpl.java:137)
at com.atlassian.servicedesk.plugins.automation.internal.execution.message.helper.IssueMessageHelperImpl.getIssue(IssueMessageHelperImpl.java:94)
... 2 filtered
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:136)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:124)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:136)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:124)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy4572.getIssue(Unknown Source)
at com.atlassian.servicedesk.plugins.automation.webhook.rulethen.IssueBeanFactory.create(IssueBeanFactory.java:46)
at com.atlassian.servicedesk.plugins.automation.webhook.rulethen.WebhookPayloadFactory.create(WebhookPayloadFactory.java:40)
at com.atlassian.servicedesk.plugins.automation.webhook.rulethen.WebhookThenActionHelper.createPayload(WebhookThenActionHelper.java:154)
at com.atlassian.servicedesk.plugins.automation.webhook.rulethen.WebhookThenActionHelper.getWebhookThenActionParams(WebhookThenActionHelper.java:130)
at com.atlassian.servicedesk.plugins.automation.webhook.rulethen.WebhookThenActionHelper.executeWebhook(WebhookThenActionHelper.java:107)
at com.atlassian.servicedesk.plugins.automation.webhook.rulethen.WebhookThenAction.invoke(WebhookThenAction.java:19)
at com.atlassian.servicedesk.plugins.automation.internal.execution.engine.asyncthen.AsyncThenJobProcessor.getEither(AsyncThenJobProcessor.java:66)
at com.atlassian.servicedesk.plugins.automation.internal.execution.engine.asyncthen.AsyncThenJobProcessor.lambda$run$0(AsyncThenJobProcessor.java:49)
at com.atlassian.servicedesk.plugins.automation.internal.execution.context.user.RunAsUserServiceImpl.runAsUser(RunAsUserServiceImpl.java:42)
at com.atlassian.servicedesk.plugins.automation.internal.execution.engine.asyncthen.AsyncThenJobProcessor.run(AsyncThenJobProcessor.java:46
at io.atlassian.fugue.Either$AbstractProjection.forEach(Either.java:735)
at io.atlassian.fugue.Either.forEach(Either.java:280)
at com.atlassian.servicedesk.plugins.automation.internal.execution.engine.asyncthen.psmq.PsmqAsyncThenExecutorImpl.execute(PsmqAsyncThenExecutorImpl.java:181)
at com.atlassian.servicedesk.plugins.automation.internal.execution.engine.asyncthen.psmq.PsmqAsyncThenExecutorImpl.lambda$claimExecuteAndResolve$3(PsmqAsyncThenExecutorImpl.java:163)
at java.util.Optional.flatMap(Optional.java:241)
at com.atlassian.pocketknife.step.OptionalStep1.then(OptionalStep1.java:21)
at com.atlassian.servicedesk.plugins.automation.internal.execution.engine.asyncthen.psmq.PsmqAsyncThenExecutorImpl.claimExecuteAndResolve(PsmqAsyncThenExecutorImpl.java:162)
at com.atlassian.servicedesk.plugins.automation.internal.execution.engine.asyncthen.psmq.PsmqAsyncThenExecutorImpl.executeAsyncThen(PsmqAsyncThenExecutorImpl.java:154)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.