def METHOD_NAME(self):
    test_issue_data = {
        "title": "Sample Issue",
        "kind": "bug",
        "priority": "major",
        "content": {"raw": "Sample Issue Description"},
    }
    result = self.api_instance.create_issue(test_issue_data)
    self.assertEqual(result["title"], "Sample Issue")
    # Close work item after test is finished.
    close_issue(self.api_instance, result["id"])