Welcome to the Jazz Community Forum
Work Flow state change using SDK

One answer

See: https://rsjazz.wordpress.com/2012/11/26/manipulating-work-item-states/
There are various posts about the EWM Java API on that blog, there is a search field you can use.