{"id":21361,"date":"2023-01-30T02:39:15","date_gmt":"2023-01-30T02:39:15","guid":{"rendered":"https:\/\/44.225.35.201\/testrail\/docs\/801\/api-manual\/reference\/statuses\/"},"modified":"2023-01-30T12:00:41","modified_gmt":"2023-01-30T03:00:41","slug":"api-statuses","status":"publish","type":"page","link":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/api-manual\/reference\/api-statuses\/","title":{"rendered":"\u30b9\u30c6\u30fc\u30bf\u30b9"},"content":{"rendered":"<p>\u30b9\u30c6\u30fc\u30bf\u30b9\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u306b\u306f\u3001\u6b21\u306e API \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 <abbr title=\"\">\u00a0<\/abbr><\/p>\n<h2 id=\"getcasestatuses\">get_case_statuses<\/h2>\n<p><!-- START version callout --><\/p>\n<div class=\"callout\">\n<p class=\"callout__title callout__icon\"><strong>TestRail 7.3 \u4ee5\u964d\u304c\u5fc5\u8981\u3067\u3059\u3002<\/strong><\/p>\n<\/div>\n<p><!-- END version callout --><\/p>\n<p>\u5229\u7528\u53ef\u80fd\u306a\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9 \u30b9\u30c6\u30fc\u30bf\u30b9\u306e\u30ea\u30b9\u30c8\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">GET index.php?\/api\/v2\/get_case_statuses<\/pre>\n<div class=\"et_pb_module et_pb_text et_pb_text_5  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<h3>\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u5185\u5bb9<\/h3>\n<p>\u8fd4\u3055\u308c\u305f\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u306f\u3001\u3059\u3079\u3066\u306e\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9 \u30b9\u30c6\u30fc\u30bf\u30b9\u304c\u6b21\u306e\u5f62\u5f0f\u3067\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<\/div>\n<\/div>\n<div class=\"et_pb_module et_pb_text et_pb_text_6  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\">[\n    {\n        \"case_status_id\": 1,\n        \"name\": \"Approved\",\n        \"abbreviation\": null,\n        \"is_default\": false,\n        \"is_approved\": true\n    },\n    {\n        \"case_status_id\": 2,\n        \"name\": \"Draft\",\n        \"abbreviation\": null,\n        \"is_default\": true,\n        \"is_approved\": false\n    }\n]<\/pre>\n<p>\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u306f\u6b21\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u542b\u307e\u308c\u307e\u3059\u3002<\/p>\n<table class=\"table table--hover\">\n<thead>\n<tr>\n<th style=\"width: 169.803px;\">\u540d\u524d<\/th>\n<th style=\"width: 101.759px;\">\u30bf\u30a4\u30d7<\/th>\n<th style=\"width: 418.472px;\">\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 161.817px;\">offset<\/td>\n<td style=\"width: 93.7732px;\">integer<\/td>\n<td style=\"width: 410.486px;\">\u624b\u9806\u306e\u5c65\u6b74\u306e\u30ab\u30a6\u30f3\u30c8\u3092\u958b\u59cb\u3059\u308b\u4f4d\u7f6e<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 161.817px;\">limit<\/td>\n<td style=\"width: 93.7732px;\">integer<\/td>\n<td style=\"width: 410.486px;\">\u8fd4\u3055\u308c\u308b\u30ec\u30b3\u30fc\u30c9\u306e\u6700\u5927\u6570<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 161.817px;\">size<\/td>\n<td style=\"width: 93.7732px;\">integer<\/td>\n<td style=\"width: 410.486px;\">\u8fd4\u3055\u308c\u308b\u30ec\u30b3\u30fc\u30c9\u306e\u6570<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 161.817px;\">links<\/td>\n<td style=\"width: 93.7732px;\">object<\/td>\n<td style=\"width: 410.486px;\">\u6b21\u304a\u3088\u3073\u524d\u306e\u5024\u30bb\u30c3\u30c8\u3078\u306e URI \u3092\u542b\u3080\u30aa\u30d6\u30b8\u30a7\u30af\u30c8 (\u5b58\u5728\u3059\u308b\u5834\u5408)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 161.817px;\">case_statuses<\/td>\n<td style=\"width: 93.7732px;\">object<\/td>\n<td style=\"width: 410.486px;\">\u30b1\u30fc\u30b9\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u60c5\u5831\u306e\u914d\u5217<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h3>case_status fields<\/h3>\n<table class=\"table table--hover\">\n<thead>\n<tr>\n<th style=\"width: 158.495px;\">\u540d\u524d<\/th>\n<th style=\"width: 115.162px;\">\u30bf\u30a4\u30d7<\/th>\n<th style=\"width: 416.377px;\">\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 150.509px;\">case_status_id<\/td>\n<td style=\"width: 107.176px;\">integer<\/td>\n<td style=\"width: 408.391px;\">\u30b9\u30c6\u30fc\u30bf\u30b9\u306e\u4e00\u610f\u306e ID<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 150.509px;\">name<\/td>\n<td style=\"width: 107.176px;\">string<\/td>\n<td style=\"width: 408.391px;\">\u30b9\u30c6\u30fc\u30bf\u30b9\u306e\u30b7\u30b9\u30c6\u30e0\u540d<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 150.509px;\">abbreviation<\/td>\n<td style=\"width: 107.176px;\">string<\/td>\n<td style=\"width: 408.391px;\">\u30b9\u30c6\u30fc\u30bf\u30b9\u306e\u4ee3\u66ff\u30e9\u30d9\u30eb<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 150.509px;\">is_default<\/td>\n<td style=\"width: 107.176px;\">boolean<\/td>\n<td style=\"width: 408.391px;\">\u30b9\u30c6\u30fc\u30bf\u30b9\u304c\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306e\u30c7\u30d5\u30a9\u30eb\u30c8 \u30b9\u30c6\u30fc\u30bf\u30b9\u3067\u3042\u308b\u5834\u5408\u306f true<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 150.509px;\">is_approved<\/td>\n<td style=\"width: 107.176px;\">boolean<\/td>\n<td style=\"width: 408.391px;\">\u30b9\u30c6\u30fc\u30bf\u30b9\u304c\u627f\u8a8d\u6e08\u307f\u30b9\u30c6\u30fc\u30bf\u30b9\u3067\u3042\u308b\u5834\u5408\u306f true<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"01G68JZ4AMW2EVBMQNCG0SNSJE\">\u30ec\u30b9\u30dd\u30f3\u30b9 \u30b3\u30fc\u30c9<\/h3>\n<table class=\"table table--hover\">\n<thead>\n<tr>\n<th style=\"width: 127.743px;\">\u30b9\u30c6\u30fc\u30bf\u30b9 \u30b3\u30fc\u30c9<\/th>\n<th style=\"width: 561.285px;\">\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 119.757px;\">200<\/td>\n<td style=\"width: 553.299px;\">\u6210\u529f\u3002\u5229\u7528\u53ef\u80fd\u306a\u30b1\u30fc\u30b9 \u30b9\u30c6\u30fc\u30bf\u30b9\u304c\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u4e00\u90e8\u3068\u3057\u3066\u8fd4\u3055\u308c\u307e\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"getstatuses\">get_statuses<\/h2>\n<p>\u5229\u7528\u53ef\u80fd\u306a\u30c6\u30b9\u30c8 \u30b9\u30c6\u30fc\u30bf\u30b9\u306e\u30ea\u30b9\u30c8\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">GET index.php?\/api\/v2\/get_statuses<\/pre>\n<div class=\"et_pb_module et_pb_text et_pb_text_5  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<h3>\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u5185\u5bb9<\/h3>\n<div class=\"et_pb_module et_pb_text et_pb_text_11  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<p>\u8fd4\u3055\u308c\u305f\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u306f\u3001\u3059\u3079\u3066\u306e\u30b7\u30b9\u30c6\u30e0 \u30b9\u30c6\u30fc\u30bf\u30b9\u3068\u30ab\u30b9\u30bf\u30e0 \u30b9\u30c6\u30fc\u30bf\u30b9\u304c\u6b21\u306e\u5f62\u5f0f\u3067\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<\/div>\n<\/div>\n<div class=\"et_pb_module et_pb_code et_pb_code_3 docs-code-block\">\n<div class=\"et_pb_code_inner\">\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\">[\n    {\n        \"color_bright\": 12709313,\n        \"color_dark\": 6667107,\n        \"color_medium\": 9820525,\n        \"id\": 1,\n        \"is_final\": true,\n        \"is_system\": true,\n        \"is_untested\": false,\n        \"label\": \"Passed\",\n        \"name\": \"passed\"\n    },\n    {\n        \"color_bright\": 16631751,\n        \"color_dark\": 14250867,\n        \"color_medium\": 15829135,\n        \"id\": 5,\n        \"is_final\": true,\n        \"is_system\": true,\n        \"is_untested\": false,\n        \"label\": \"Failed\",\n        \"name\": \"failed\"\n    },\n    {\n        \"color_bright\": 13684944,\n        \"color_dark\": 0,\n        \"color_medium\": 10526880,\n        \"id\": 6,\n        \"is_final\": false,\n        \"is_system\": false,\n        \"is_untested\": false,\n        \"label\": \"Custom\",\n        \"name\": \"custom_status1\"\n    }\n]<\/pre>\n<\/div>\n<\/div>\n<div class=\"et_pb_module et_pb_text et_pb_text_12  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<p>\u5404\u30b9\u30c6\u30fc\u30bf\u30b9\u306b\u306f\u3001\u4e00\u610f\u306e ID\u3001\u540d\u524d (\u30b7\u30b9\u30c6\u30e0\u540d)\u3001\u304a\u3088\u3073\u30e9\u30d9\u30eb (\u8868\u793a\u540d) \u304c\u3042\u308a\u307e\u3059\u3002\u8272\u95a2\u9023\u30d5\u30a3\u30fc\u30eb\u30c9\u306f\u3001\u30b9\u30c6\u30fc\u30bf\u30b9\u306b\u4f7f\u7528\u3055\u308c\u308b\u3055\u307e\u3056\u307e\u306a\u8272\u3092 RGB \u8272\u3068\u3057\u3066\u6307\u5b9a\u3057\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u4ee5\u4e0b\u306e\u30b7\u30b9\u30c6\u30e0 \u30b9\u30c6\u30fc\u30bf\u30b9\u304c\u5229\u7528\u53ef\u80fd\u3067\u3059\u3002TestRail \u306e [\u7ba1\u7406] &gt; [\u30ab\u30b9\u30bf\u30de\u30a4\u30ba] \u3067\u3001\u30ab\u30b9\u30bf\u30e0 \u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002<\/p>\n<table class=\"table table--hover\">\n<thead>\n<tr>\n<th style=\"width: 98.0208px;\">ID<\/th>\n<th style=\"width: 173.021px;\">\u540d\u524d<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 90px;\">1<\/td>\n<td style=\"width: 165px;\">Passed<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 90px;\">2<\/td>\n<td style=\"width: 165px;\">Blocked<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 90px;\">3<\/td>\n<td style=\"width: 165px;\">Untested<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 90px;\">4<\/td>\n<td style=\"width: 165px;\">Retest<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 90px;\">5<\/td>\n<td style=\"width: 165px;\">Failed<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"01G68JZ4AMW2EVBMQNCG0SNSJE\">\u30ec\u30b9\u30dd\u30f3\u30b9 \u30b3\u30fc\u30c9<\/h3>\n<table class=\"table table--hover\">\n<thead>\n<tr>\n<th style=\"width: 117.998px;\">\u30b9\u30c6\u30fc\u30bf\u30b9 \u30b3\u30fc\u30c9<\/th>\n<th style=\"width: 544.028px;\">\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 110.012px;\">200<\/td>\n<td style=\"width: 536.042px;\">\u6210\u529f\u3002\u5229\u7528\u53ef\u80fd\u306a\u30b9\u30c6\u30fc\u30bf\u30b9\u304c\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u4e00\u90e8\u3068\u3057\u3066\u8fd4\u3055\u308c\u307e\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u30b9\u30c6\u30fc\u30bf\u30b9\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u306b\u306f\u3001\u6b21\u306e API \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 \u00a0 get_case_statuses TestRail 7.3 \u4ee5\u964d\u304c\u5fc5\u8981\u3067\u3059\u3002 \u5229\u7528\u53ef\u80fd\u306a\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9 \u30b9\u30c6\u30fc\u30bf\u30b9\u306e\u30ea\u30b9\u30c8\u3092\u8fd4\u3057\u307e\u3059\u3002 G [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":6632,"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-21361","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/21361","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=21361"}],"version-history":[{"count":7,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/21361\/revisions"}],"predecessor-version":[{"id":21369,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/21361\/revisions\/21369"}],"up":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/6632"}],"wp:attachment":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/media?parent=21361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}