I'm not sure I understand the requirement here, but it's pretty straightforward to set the status with groovy. You use it to execute the transitions required to get you into the correct status.
I've got https://jamieechlin.atlassian.net/wiki/display/GRV/Services bookmarked for the basic code for pushing an issue through a transition.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot