Rev 129 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<%@LANGUAGE="VBSCRIPT"%><%Option explicitResponse.Expires = 0 ' always load the page, dont store%><%'=====================================================' Adding A Jira Issue'=====================================================%><!--#include file="common/conf.asp"--><!--#include file="common/globals.asp"--><!--#include file="common/qstr.asp"--><!--#include file="common/common_subs.asp"--><!--#include file="common/formating.asp"--><!--#include file="common/common_dbedit.asp"--><!--#include file="common/_popup_window_common.asp"--><%'------------ ACCESS CONTROL ------------------%><!--#include file="_access_control_login.asp"--><!--#include file="_access_control_general.asp"--><!--#include file="_access_control_project.asp"--><%'------------ Variable Definition -------------Dim ParPv_id'------------ Constants Declaration -----------'------------ Variable Init -------------------'----------------------------------------------%><%ParPv_id = Request("pv_id")%><%Function Insert_JIRA_Issue( SSissue )objEH.TryORA ( OraSession )On Error Resume NextOraDatabase.ExecuteSQL _" INSERT INTO JIRA_ISSUES (pv_id, issue_link)"&_" VALUES ("& ParPv_id &", '"& SSissue &"')"If Err.Number = 0 ThenOraDatabase.ExecuteSQL _"BEGIN Log_Action ( "& ParPv_id &", 'jira_issue_added', "& objAccessControl.UserId &", 'Issue Key: "& SSissue &" Added' ); END;"End IfobjEH.CatchORA ( OraSession )End Function%><%'Process submitionIf Request("btn") = "ADD" AND objAccessControl.UserLogedIn ThenCall Insert_JIRA_Issue ( QStrPar("FRJIRAissue"))Call OpenInParentWindow ("fixed_issues.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id)Call CloseWindowEnd If%><html><head><title>Release Manager</title><meta HTTP-EQUIV="Pragma" CONTENT="no-cache"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link rel="stylesheet" href="images/release_manager_style.css" type="text/css"><link rel="stylesheet" href="images/navigation.css" type="text/css"></head><body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="self.focus();document.memo.FRmsg.focus();"><form name="memo" method="post" action="<%=scriptName%>?done=done<%=QSTR_All%>" onSubmit="return check();"><table width="100%" border="0" cellspacing="0" cellpadding="2" height="100%"><tr><td background="images/lbox_bg_orange.gif" width="1%" height="1%"><img src="images/h_trsp_dot.gif" width="22" height="1"></td><td background="images/lbox_bg_blue.gif" nowrap width="50%" class="wform_ttl"> ADD ISSUE</td><td background="images/lbox_bg_blue.gif" align="right" width="50%"><input type="submit" name="btn" value="ADD" class="form_btn_comp" ><input type="reset" name="btn" value="Cancel" class="form_btn_comp" onclick="self.close()"></td><td background="images/lbox_bg_blue.gif" align="right" width="1%%" nowrap><img src="images/h_trsp_dot.gif" width="5" height="22"> </td></tr><tr><td height="100%" width="1%"> </td><td valign="top" nowrap colspan="3" class="wform_ttl" background="images/bg_form_lightgray.gif"><table width="100%" border="0" cellspacing="1" cellpadding="2"><tr><td width="2%"><img src="images/h_trsp_dot.gif" width="10" height="30"></td><td width="13%" nowrap class="form_group" valign="bottom"></td><td nowrap width="85%"> </td></tr><tr><td width="2%"> </td><td width="13%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">JIRA Issue Key: </td><td nowrap width="85%" background="images/bg_form_lightbluedark.gif" class="form_txt"><input type="text" name="FRJIRAissue" maxlength="20" size="20" class="form_item"></td></tr><tr><td width="2%"> </td><td colspan="2" nowrap class="form_field" background="images/bg_form_lightbluedark.gif" valign="top"> </td></tr><tr><td width="2%"> </td><td width="13%" nowrap class="form_field"><img src="images/h_trsp_dot.gif" width="100" height="10"></td><td nowrap width="85%"><p> </p></td></tr></table></td></tr><tr><td height="1%" width="1%"><img src="images/h_trsp_dot.gif" width="5" height="5"></td><td valign="top" nowrap colspan="3" class="wform_ttl" background="images/lbox_bg_blue.gif"></td></tr></table></form></body></html><!-- DESTRUCTOR -------><!--#include file="common/destructor.asp"-->