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

Get a java.lang.ClassCastException error when using automation to update field in linked issue


I'm trying to setup an automation rule that when an issue is updated, the due date of all related linked issues will be updated with the due date of the issue. I've setup the following rule:

update due date automation setup.JPG


However when I update an issue, its related linked issues' due date doesn't get changed. I had a look at the audit logs of the automation and I see the following:

update due date automation error.JPG


The error message is:

Unexpected error executing rule:java.lang.ClassCastException: com.onresolve.scriptrunner.automation.ExecuteScriptIssueActionV2 cannot be cast to com.codebarrel.automation.api.thirdparty.AutomationRuleComponent

I got the automation rule from the following link:

I was wondering what could be the cause of this error?




1 answer

1 accepted

1 vote
Answer accepted

Hi @Jason Yeung 

Do you have both the Lite and Pro versions of automation for Jira installed?  If so, it could be this issue:

The work-around is to disable one or the other, and the fix is to uninstall one of them...or wait for this defect to be resolved.

Best regards,

@Bill Sheboy ,

thanks for the info. I have uninstalled the Lite version and it did the trick.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Trello

🏊‍♀️ Atlympic Event: Trello

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

130 views 1 12
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