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 Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...
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