{"id":24919,"date":"2023-09-16T06:54:10","date_gmt":"2023-09-15T21:54:10","guid":{"rendered":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/?page_id=24919"},"modified":"2023-09-20T18:38:09","modified_gmt":"2023-09-20T09:38:09","slug":"exporting-test-cases","status":"publish","type":"page","link":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/api-manual\/api-usecase\/exporting-test-cases\/","title":{"rendered":"\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306e\u30a8\u30af\u30b9\u30dd\u30fc\u30c8"},"content":{"rendered":"<p>\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9 \u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u6a5f\u80fd\u306f\u3001\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306e\u8a73\u7d30\u3092\u5fc5\u8981\u3068\u3059\u308b\u4ed6\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u30c7\u30fc\u30bf\u3092\u7c21\u5358\u306b\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u306e\u306b\u4fbf\u5229\u3067\u3059\u3002\u305f\u3068\u3048\u3070 IDE \u3084\u30c7\u30fc\u30bf\u89e3\u6790\u30c4\u30fc\u30eb\u3067\u5229\u7528\u3067\u304d\u308b\u307b\u304b\u3001CLI \u3092\u4f7f\u3063\u3066\u4efb\u610f\u306e\u64cd\u4f5c\u3092\u884c\u3046\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306e\u8a73\u7d30\u3092\u53d6\u5f97\u3059\u308b\u3068\u3001\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306e\u8a2d\u8a08\u306b\u57fa\u3065\u3044\u3066\u6210\u679c\u7269\u3092\u751f\u6210\u3057\u305f\u308a\u3001\u5916\u90e8\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3055\u308c\u305f\u6d1e\u5bdf\u3092\u5f97\u305f\u308a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul class=\"list-bullet\">\n<li>\u5916\u90e8\u30c4\u30fc\u30eb\u3067\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306e\u8a2d\u8a08\u3092\u89e3\u6790\u3057\u307e\u3059\u3002<\/li>\n<li>\u65e2\u5b58\u306e\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u304b\u3089\u81ea\u52d5\u5316\u3055\u308c\u305f\u30c6\u30b9\u30c8\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<table class=\"table table--hover\" style=\"border-collapse: collapse; width: 100%;\">\n<thead>\n<tr>\n<th style=\"width: 27.7143%;\">\u5b9f\u969b\u306e\u30b5\u30f3\u30d7\u30eb<\/th>\n<th style=\"width: 72.2857%;\">\u30e6\u30fc\u30b9 \u30b1\u30fc\u30b9<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 27.7143%;\"><a href=\"https:\/\/plugins.jetbrains.com\/plugin\/15109-test-management\" target=\"_blank\" rel=\"noopener\"><span style=\"color: #1155cc;\">Jetbrains IDE<\/span><\/a><\/td>\n<td style=\"width: 72.2857%;\">\u81ea\u52d5\u30c6\u30b9\u30c8\u306e\u30b9\u30b1\u30eb\u30c8\u30f3\u3092\u81ea\u52d5\u751f\u6210\u3059\u308b\u6a5f\u80fd\u3092\u5099\u3048\u305f\u30c6\u30b9\u30c8\u7ba1\u7406\u30d7\u30e9\u30b0\u30a4\u30f3<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306e\u53d6\u5f97<\/h2>\n<p>\u305f\u3068\u3048\u3070\u30c6\u30b9\u30c8\u81ea\u52d5\u5316\u30c4\u30fc\u30eb\u306a\u3069\u3092\u4f7f\u7528\u3057\u3066 TestRail \u306e\u5916\u3067\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306e\u8a2d\u8a08\u3092\u89e3\u6790\u3057\u3001\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3092\u7ba1\u7406\u3059\u308b\u306b\u306f\u3001\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u304b\u3089\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<div class=\"tabs\">\n<h3 class=\"tabs-menu\"><span class=\"tabs-link is-active\">\u30ea\u30af\u30a8\u30b9\u30c8<\/span><\/h3>\n<div><\/div>\n<div><strong><span class=\"api_verb api_get\">GET<\/span><\/strong>\u00a0\u3000<span class=\"api_url\">index.php?\/api\/v2\/get_cases\/{project_id}<\/span><\/div>\n<\/div>\n<div><\/div>\n<div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">curl -X GET \\ \n  -u \"user@example.com:password\" \\ \n  \"https:\/\/example.testrail.io\/index.php?\/api\/v2\/get_cases\/3\"<\/pre>\n<\/div>\n<div class=\"tabs\">\n<h3 class=\"tabs-menu\"><span class=\"tabs-link\">\u30ea\u30af\u30a8\u30b9\u30c8 \u30dc\u30c7\u30a3\u306e\u30b5\u30f3\u30d7\u30eb<\/span><\/h3>\n<div>\u306a\u3057<\/div>\n<h3 class=\"tabs-menu\"><span class=\"tabs-link\">\u30ec\u30b9\u30dd\u30f3\u30b9 \u30dc\u30c7\u30a3\u306e\u30b5\u30f3\u30d7\u30eb<\/span><\/h3>\n<div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">{\n    \"offset\": 0,\n    \"limit\": 250,\n    \"size\": 3,\n    \"_links\": {\n        \"next\": null,\n        \"prev\": null\n    },\n    \"cases\": [\n        {\n            \"id\": 4075,\n            \"title\": \"Successfully login (Steps)\",\n            \"section_id\": 497,\n            \"template_id\": 2,\n            \"type_id\": 11,\n            \"priority_id\": 3,\n            \"milestone_id\": null,\n            \"refs\": null,\n            \"created_by\": 5,\n            \"created_on\": 1684927352,\n            \"updated_by\": 5,\n            \"updated_on\": 1684929173,\n            \"estimate\": \"1m\",\n            \"estimate_forecast\": null,\n            \"suite_id\": 53,\n            \"display_order\": 1,\n            \"is_deleted\": 0,\n            \"case_assignedto_id\": null,\n            \"custom_automation_type\": 0,\n            \"custom_preconds\": \"Go to login page \",\n            \"custom_steps\": null,\n            \"custom_testrail_bdd_scenario\": null,\n            \"custom_expected\": null,\n            \"custom_steps_separated\": [\n                {\n                    \"content\": \"Input valid email and password\",\n                    \"expected\": \"Fields should be highlighted in green\",\n                    \"additional_info\": \"\",\n                    \"refs\": \"\"\n                },\n                {\n                    \"content\": \"Click submit\",\n                    \"expected\": \"User should be logged in and redirected to the homepage\",\n                    \"additional_info\": \"\",\n                    \"refs\": \"\"\n                }\n            ],\n            \"custom_mission\": null,\n            \"custom_goals\": null,\n            \"comments\": []\n        },\n        {\n            \"id\": 4077,\n            \"title\": \"Successfully register new user (Text)\",\n            \"section_id\": 497,\n            \"template_id\": 1,\n            \"type_id\": 11,\n            \"priority_id\": 3,\n            \"milestone_id\": null,\n            \"refs\": null,\n            \"created_by\": 5,\n            \"created_on\": 1684929198,\n            \"updated_by\": 5,\n            \"updated_on\": 1684929282,\n            \"estimate\": \"2m 30s\",\n            \"estimate_forecast\": null,\n            \"suite_id\": 53,\n            \"display_order\": 2,\n            \"is_deleted\": 0,\n            \"case_assignedto_id\": null,\n            \"custom_automation_type\": 0,\n            \"custom_preconds\": \"Go to the register page\",\n            \"custom_steps\": \"Input valid information in all fields\\r\\nClick register\",\n            \"custom_testrail_bdd_scenario\": null,\n            \"custom_expected\": \"User should be registered and prompted to confirm his email address \",\n            \"custom_steps_separated\": null,\n            \"custom_mission\": null,\n            \"custom_goals\": null,\n            \"comments\": []\n        }\n    ]\n}<\/pre>\n<\/div>\n<\/div>\n<h3>\u30af\u30a8\u30ea\u30fc \u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306b\u3088\u308b\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306e\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0<\/h3>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8 34 (\u30d7\u30ed\u30b8\u30a7\u30af\u30c8 ID \u304c 34) \u306e ID \u304c 2 \u306e\u30b9\u30a4\u30fc\u30c8\u306b\u3042\u308b\u3001\u512a\u5148\u5ea6\u304c 3 \u307e\u305f\u306f 4 \u306e\u3059\u3079\u3066\u306e\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3092\u53d6\u5f97\u3059\u308b\u5834\u5408<br \/>\n<strong><span class=\"api_verb api_get\">GET<\/span> \u3000<\/strong><span class=\"api_url\">index.php?\/api\/v2\/get_cases\/34&amp;suite_id=2&amp;priority_id=3,4<\/span><\/li>\n<li>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8 34 \u304b\u3089 10 \u500b\u306e\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3092\u53d6\u5f97\u3059\u308b\u5834\u5408<br \/>\n<strong><span class=\"api_verb api_get\">GET\u3000<\/span><\/strong> <span class=\"api_url\">index.php?\/api\/v2\/get_cases\/34&amp;limit=10<\/span><\/li>\n<li>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8 34 \u306e\u6307\u5b9a\u3055\u308c\u305f\u30aa\u30d5\u30bb\u30c3\u30c8\u304b\u3089\u306e\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3060\u3051\u3092\u53d6\u5f97\u3059\u308b\u5834\u5408<br \/>\n<strong><span class=\"api_verb api_get\">GET\u3000<\/span><\/strong> <span class=\"api_url\">index.php?\/api\/v2\/get_cases\/34&amp;offset=5<\/span><\/li>\n<li>\u30d5\u30a3\u30eb\u30bf\u30fc\u6587\u5b57\u5217 &#8220;login&#8221;\u3092\u4f7f\u7528\u3057\u3066\u30d7\u30ed\u30b8\u30a7\u30af\u30c8 34 \u306e\u30b1\u30fc\u30b9\u3092\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3059\u308b\u5834\u5408<br \/>\n<strong><span class=\"api_verb api_get\">GET\u3000<\/span><\/strong> <span class=\"api_url\">index.php?\/api\/v2\/get_cases\/34&amp;filter=login<\/span><\/li>\n<li>\u4f7f\u7528\u4f8b\u306e\u7d44\u307f\u5408\u308f\u305b<br \/>\n<strong><span class=\"api_verb api_get\">GET\u3000<\/span><\/strong> <span class=\"api_url\">index.php?\/api\/v2\/get_cases\/34&amp;offset=5&amp;limit=10&amp;filter=login<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9 \u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u6a5f\u80fd\u306f\u3001\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306e\u8a73\u7d30\u3092\u5fc5\u8981\u3068\u3059\u308b\u4ed6\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u30c7\u30fc\u30bf\u3092\u7c21\u5358\u306b\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u306e\u306b\u4fbf\u5229\u3067\u3059\u3002\u305f\u3068\u3048\u3070 IDE \u3084\u30c7\u30fc\u30bf\u89e3\u6790\u30c4\u30fc\u30eb\u3067\u5229\u7528\u3067\u304d\u308b\u307b\u304b\u3001CLI \u3092 [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":24746,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-24919","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/24919","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/comments?post=24919"}],"version-history":[{"count":6,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/24919\/revisions"}],"predecessor-version":[{"id":24925,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/24919\/revisions\/24925"}],"up":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/24746"}],"wp:attachment":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/media?parent=24919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}