Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Adding a post function to a global transition

Mamta Verma September 12, 2018

Can I add "Transition issue (JMWE add-on)" to a global transition?

I added this post function to the global transition where I want my current epic status to move to "complete" state. But whenever I transition my epic I get some errors as below.

Is there a way we can achieve this?Post function.PNG

1)

error.PNG

2)

Technical details

Log's referral number: eedefc1f-9f4f-4023-bc12-9c269385397d

Cause

Referer URL: http://localhost:8080/browse/DCAE-45

java.lang.StackOverflowError
java.lang.StackOverflowError
	at java.util.regex.Pattern$BranchConn.match(Pattern.java:4568) [?:1.8.0_102]
	at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3798) [?:1.8.0_102]
	at java.util.regex.Pattern$Branch.match(Pattern.java:4604) [?:1.8.0_102]
	at java.util.regex.Pattern$GroupHead.match(Pattern.java:4658) [?:1.8.0_102]
	at java.util.regex.Pattern$GroupHead.match(Pattern.java:4658) [?:1.8.0_102]
	at java.util.regex.Pattern$Curly.match0(Pattern.java:4272) [?:1.8.0_102]
	at java.util.regex.Pattern$Curly.match(Pattern.java:4234) [?:1.8.0_102]
	at java.util.regex.Pattern$GroupHead.match(Pattern.java:4658) [?:1.8.0_102]
	at java.util.regex.Pattern$Pos.match(Pattern.java:5060) [?:1.8.0_102]
	at java.util.regex.Pattern$GroupTail.match(Pattern.java:4717) [?:1.8.0_102]
	at java.util.regex.Pattern$Curly.match0(Pattern.java:4272) [?:1.8.0_102]
	at java.util.regex.Pattern$Curly.match(Pattern.java:4234) [?:1.8.0_102]
	at java.util.regex.Pattern$GroupHead.match(Pattern.java:4658) [?:1.8.0_102]
	at java.util.regex.Pattern$Start.match(Pattern.java:3461) [?:1.8.0_102]
	at java.util.regex.Matcher.search(Matcher.java:1248) [?:1.8.0_102]
	at java.util.regex.Matcher.find(Matcher.java:637) [?:1.8.0_102]
	at net.java.ao.sql.SqlUtils.processWhereClause(SqlUtils.java:26) [?:?]
	at net.java.ao.DatabaseProvider.processWhereClause(DatabaseProvider.java:2057) [?:?]
	at net.java.ao.DatabaseProvider.renderQueryWhere(DatabaseProvider.java:633) [?:?]
	at net.java.ao.DatabaseProvider.renderQuery(DatabaseProvider.java:350) [?:?]
	at net.java.ao.Query.toSQL(Query.java:327) [?:?]
	at net.java.ao.EntityManager.find(EntityManager.java:664) [?:?]
	at net.java.ao.EntityManager.find(EntityManager.java:621) [?:?]
	at net.java.ao.EntityManager.find(EntityManager.java:554) [?:?]
	at com.atlassian.activeobjects.internal.EntityManagedActiveObjects.find(EntityManagedActiveObjects.java:132) [?:?]
	at com.atlassian.activeobjects.osgi.TenantAwareActiveObjects.find(TenantAwareActiveObjects.java:291) [?:?]
	at sun.reflect.GeneratedMethodAccessor291.invoke(Unknown Source) [?:?]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_102]
	at java.lang.reflect.Method.invoke(Method.java:498) [?:1.8.0_102]
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302) [spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
	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:179) [spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) [spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) [spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
	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:179) [spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
	at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) [?:?]
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) [spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) [spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) [spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
	at com.sun.proxy.$Proxy1818.find(Unknown Source) [?:?]

1 answer

0 votes
Keri
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 16, 2018

Hi Mamta,

 

Thanks for sharing your workflow step.  I’m a little confused about the post function you’re using and why you’re using it.

 

From what I can see this is the step set on the workflow transition.  When the button is clicked it automatically moves to the Complete status without the need for a post function.

 

If you remove this post function, does the issue transition successfully?

 

Can you tell us about Transition 41 and which transition this is?

 

Cheers,

Keri

Suggest an answer

Log in or Sign up to answer