Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Copy one reference to another (Inbound Refernces)

Team,

We want to copy one referenced object to another reference attribute (Component).

Getting below error...

2020-09-17 10:26:13,428 insight-event-2 ERROR system 718x11558080x2 1uz4pca 172.20.5.140 /rest/plugins/1.0/com.idalko.jira.plugins.igrid-key [c.r.j.p.i.s.automation.action.AutomationRuleGroovyScriptAction] AutomationRuleGroovyScriptAction, Unexpected error: com.riadalabs.jira.plugins.insight.services.model.MutableObjectBean cannot be cast to com.riadalabs.jira.plugins.insight.services.model.ObjectAttributeValueBean
java.lang.ClassCastException: com.riadalabs.jira.plugins.insight.services.model.MutableObjectBean cannot be cast to com.riadalabs.jira.plugins.insight.services.model.ObjectAttributeValueBean
at com.riadalabs.jira.plugins.insight.services.model.MutableObjectAttributeBean.setObjectAttributeValueBeans(MutableObjectAttributeBean.java:50)
at com.riadalabs.jira.plugins.insight.services.model.MutableObjectAttributeBean$setObjectAttributeValueBeans$1.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
at 01-copy-references.UpdateInsightObjectAttributeValue(01-copy-references.groovy:186)
... 3 filtered
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:352)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:68)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:157)
at 01-copy-references$_run_closure1$_closure3$_closure4.doCall(01-copy-references.groovy:146)
... 3 filtered 

 Thanks in advance.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

5 mobile apps for Jira Cloud to boost productivity

  It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...

209 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you