What would be the script for hiding the current transition, if the transition of the Linked issue does not match some of the states?
For e.g.
I want to make "Submit for Approval" Hidden until the Linked Ticket Does not reaches to "Resolved"
* I have the Script Runner Plugin.