• Community
  • Products
  • Jira
  • Questions
  • error while moving the error from done to inprogress-java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Double

error while moving the error from done to inprogress-java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Double

error while moving the error from done to inprogress-java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Double

 

looking for solution

1 answer

0 votes

You've got a post function (or script?) that is wrong.  It's trying to convert a string to a number with a simple cast which cannot be done.

You need to find and fix that line of code.  If you need help with that, then list your script here and we can probably find it for you.

Thanks Nic, could you please give in detail info where i can send the script details

and also required help to pull out the script.

syam

As an admin, identify the workflow transition that is broken in the workflow view/edit admin function. Check the transition for post-functions (as it's *most* likely a post function) and look for one that says "scripted", and that will expose the code, which ou can copy and paste here.

hi Nic,

it is not haping  to one flow, it is haping for all the projects in different  workflows

syam

It's the same thing - you need to find out what code is being executed so you can debug it. If it's happening in many workflows, that simply suggests you've got a broken script in a workflow and then you've made copies of that workflow. You're going to need to fix all of them. Another possibility is that it is a "listener" - to check this, could you tell us what listeners you have in the system? Just list all of them, it's easier.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

414 views 7 5
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you