Index: arms/js/jiraConnection.js =================================================================== diff -u -rc4ad14522a8540d02ca50a4363b77f8adb7f15b2 -r403b1c05479a84b98ff85b0270deb2df861423bc --- arms/js/jiraConnection.js (.../jiraConnection.js) (revision c4ad14522a8540d02ca50a4363b77f8adb7f15b2) +++ arms/js/jiraConnection.js (.../jiraConnection.js) (revision 403b1c05479a84b98ff85b0270deb2df861423bc) @@ -4,7 +4,7 @@ var selectId; // 선택한 서버 아이디 var selectName; // 선택한 서버 이름 (c_title) var selectServerName; // 선택한 서버 이름 (c_jira_server_name ) -var selectServerType; // 선택한 서버 타입 (c_jira_server_type, cloud or on-premise) +var selectServerType; // 선택한 서버 타입 (c_jira_server_type, 클라우드 or 온프레미스) var selectedIndex; // 데이터테이블 선택한 인덱스 var selectedPage; // 데이터테이블 선택한 인덱스 @@ -183,11 +183,11 @@
불러온 프로젝트 수: ${cardList[i].jiraProjectEntities.length} - 프로젝트 - 이슈타입 - 이슈우선순위 - 이슈해결책 - 이슈상태 + 프로젝트 + 이슈타입 + 이슈우선순위 + 이슈해결책 + 이슈상태
@@ -337,7 +337,7 @@ $("#detailview_jira_server_name").val(json.c_title); $("#editview_jira_server_name").val(json.c_title); - if(json.c_jira_server_type === "cloud") { + if(json.c_jira_server_type === "클라우드") { $("#detailview_jira_server_type_option1").parent().click(); $("#editview_jira_server_type_option1").parent().click(); } else { @@ -426,7 +426,7 @@ $("#extend_editview_jira_server_connect_id").val($("#editview_jira_server_connect_id").val()); $("#extend_editview_jira_pass_token").val($("#editview_jira_pass_token").val()); - if ( $("#editview_jira_server_type").find(".active input").val() === "cloud") { + if ( $("#editview_jira_server_type").find(".active input").val() === "클라우드") { $("#extend_editview_jira_server_type_option1").parent().click(); } else { $("#extend_editview_jira_server_type_option2").parent().click(); @@ -451,7 +451,7 @@ $("#extend_editview_jira_server_connect_id").val($("#editview_jira_server_connect_id").val()); $("#extend_editview_jira_pass_token").val($("#editview_jira_pass_token").val()); - if ( $("#editview_jira_server_type").find(".active input").val() === "cloud") { + if ( $("#editview_jira_server_type").find(".active input").val() === "클라우드") { $("#extend_editview_jira_server_type_option1").parent().click(); } else { $("#extend_editview_jira_server_type_option2").parent().click(); @@ -500,7 +500,7 @@ c_type: "default", c_jira_server_name: $("#popup_editview_jira_server_name").val(), c_jira_server_base_url: $("#popup_editview_jira_server_base_url").val(), - c_jira_server_type: $("#popup_editview_jira_server_type input[name='options']:checked").val(), //cloud, on-premise + c_jira_server_type: $("#popup_editview_jira_server_type input[name='options']:checked").val(), //클라우드, on-premise c_jira_server_connect_id: $("#popup_editview_jira_server_connect_id").val(), c_jira_server_connect_pw: $("#popup_editview_jira_pass_token").val(), c_jira_server_contents: CKEDITOR.instances.modal_editor.getData() @@ -549,7 +549,7 @@ c_title: $("#editview_jira_server_name").val(), c_jira_server_name: $("#editview_jira_server_name").val(), // c_jira_server_base_url: $("#editview_jira_server_base_url").val(), -// c_jira_server_type: $("#editview_jira_server_type input[name='options']:checked").val(), //cloud, on-premise +// c_jira_server_type: $("#editview_jira_server_type input[name='options']:checked").val(), //클라우드, on-premise c_jira_server_connect_id: $("#editview_jira_server_connect_id").val(), c_jira_server_connect_pw: $("#editview_jira_pass_token").val(), c_jira_server_contents: CKEDITOR.instances.input_jira_server_editor.getData() @@ -579,7 +579,7 @@ c_title: $("#extend_editview_jira_server_name").val(), c_jira_server_name: $("#extend_editview_jira_server_name").val(), // c_jira_server_base_url: $("#extend_editview_jira_server_base_url").val(), -// c_jira_server_type: $("#extend_editview_jira_server_type input[name='options']:checked").val(), //cloud, on-premise +// c_jira_server_type: $("#extend_editview_jira_server_type input[name='options']:checked").val(), //클라우드, on-premise c_jira_server_connect_id: $("#extend_editview_jira_server_connect_id").val(), c_jira_server_connect_pw: $("#editview_jira_pass_token").val(), c_jira_server_contents: CKEDITOR.instances.extend_modal_editor.getData() @@ -676,6 +676,24 @@ if (serverId == undefined) { serverId = "서버 아이디 정보 없음"; } if (renewJiraType === undefined) { renewJiraType = "갱신할 지라 타입 없음"; } console.log("갱신버튼을 눌렀습니다. 갱신할 종류(서버아이디) : " + renewJiraType+"("+serverId+")"); + + if(renewJiraType === '이슈상태') { //임시 ajax 여기 넣기 + $.ajax({ + url: "/auth-user/api/arms/jiraServer/renewIssueStatus.do", + type: "put", + data: { c_id: serverId}, + statusCode: { + 200: function () { + jSuccess(selectServerName + "의 데이터가 변경되었습니다."); + console.log("현재 선택된 항목(c_id, 서버명) :" + selectId +", " + selectServerName); + //데이터 테이블 데이터 재 로드 + makeJiraServerCardDeck(); + jiraServerCardClick(selectId); + } + } + }); + } + } function projectDataTable(data) {