As we confess that vain and rash swearing is forbidden Christian men by our Lord Jesus Christ and James his apostle, so we judge that the Christian religion doth not prohibit, but that a man may swear when the magistrate requireth, in a cause of faith and charity, so it be done according to the prophet’s teaching, in justice, judgment, and truth.
The Episcopal Article is identical.