You need to have listerner in place for the "Issue assigned" event, which is listening for changes on the assignee field.
Script runner plugin also provdes ability to write listerner - https://scriptrunner.adaptavist.com/latest/jira/listeners.html
In the listener you have to check the condition
Gov Data = Yes and/or Environment = Prod
and if the condition is true then you can check if the assignee is someine in offshore team and if that's the case then assign it back to someone in onshore team.
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