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.
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
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