Hi,
the issue I am having is issue created event fired before it is actually in the new status, basically I am running a script triggered on the issue created event, used to transition the issue if needed. However, I get the
It seems that you have tried to perform a workflow operation (Spam) that is not valid for the current state of this issue (BSP-93). The likely cause is that somebody has changed the issue recently, please look at the issue history for details.
I have tried with sleep for few seconds (like waiting for it to actually move to Open), because I am able to do it on the issue itself, just not from the script. Is there any solution to this?