| Line 29... |
Line 29... |
| 29 |
'----------------------------------------------
|
29 |
'----------------------------------------------
|
| 30 |
%>
|
30 |
%>
|
| 31 |
<%ParPv_id = Request("pv_id")%>
|
31 |
<%ParPv_id = Request("pv_id")%>
|
| 32 |
<%
|
32 |
<%
|
| 33 |
Function Insert_JIRA_Issue( SSissue )
|
33 |
Function Insert_JIRA_Issue( SSissue )
|
| 34 |
|
34 |
|
| - |
|
35 |
objEH.TryORA ( OraSession )
|
| 35 |
OraSession.BeginTrans
|
36 |
On Error Resume Next
|
| - |
|
37 |
|
| 36 |
OraDatabase.ExecuteSQL _
|
38 |
OraDatabase.ExecuteSQL _
|
| 37 |
" INSERT INTO JIRA_ISSUES (pv_id, issue_link)"&_
|
39 |
" INSERT INTO JIRA_ISSUES (pv_id, issue_link)"&_
|
| 38 |
" VALUES ("& ParPv_id &", '"& SSissue &"')"
|
40 |
" VALUES ("& ParPv_id &", '"& SSissue &"')"
|
| 39 |
|
41 |
|
| - |
|
42 |
If Err.Number = 0 Then
|
| 40 |
OraDatabase.ExecuteSQL _
|
43 |
OraDatabase.ExecuteSQL _
|
| 41 |
"BEGIN Log_Action ( "& ParPv_id &", 'jira_issue_added', "& objAccessControl.UserId &", 'Issue Key: "& SSissue &" Added' ); END;"
|
44 |
"BEGIN Log_Action ( "& ParPv_id &", 'jira_issue_added', "& objAccessControl.UserId &", 'Issue Key: "& SSissue &" Added' ); END;"
|
| - |
|
45 |
End If
|
| 42 |
|
46 |
|
| 43 |
OraSession.CommitTrans
|
47 |
objEH.CatchORA ( OraSession )
|
| 44 |
End Function
|
48 |
End Function
|
| 45 |
%>
|
49 |
%>
|
| 46 |
<%
|
50 |
<%
|
| 47 |
'Process submition
|
51 |
'Process submition
|
| 48 |
If Request("btn") = "ADD" AND objAccessControl.UserLogedIn Then
|
52 |
If Request("btn") = "ADD" AND objAccessControl.UserLogedIn Then
|
| 49 |
Call Insert_JIRA_Issue ( QStrPar("FRJIRAissue"))
|
53 |
Call Insert_JIRA_Issue ( QStrPar("FRJIRAissue"))
|
| 50 |
Call OpenInParentWindow ("fixed_issues.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id)
|
54 |
Call OpenInParentWindow ("fixed_issues.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id)
|
| 51 |
Call CloseWindow
|
55 |
Call CloseWindow
|
| 52 |
|
56 |
|
| 53 |
End If
|
57 |
End If
|
| 54 |
%>
|
58 |
%>
|
| 55 |
<html>
|
59 |
<html>
|
| 56 |
<head>
|
60 |
<head>
|
| 57 |
<title>Release Manager</title>
|
61 |
<title>Release Manager</title>
|
| Line 62... |
Line 66... |
| 62 |
|
66 |
|
| 63 |
</head>
|
67 |
</head>
|
| 64 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="self.focus();document.memo.FRmsg.focus();">
|
68 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="self.focus();document.memo.FRmsg.focus();">
|
| 65 |
<form name="memo" method="post" action="<%=scriptName%>?done=done<%=QSTR_All%>" onSubmit="return check();">
|
69 |
<form name="memo" method="post" action="<%=scriptName%>?done=done<%=QSTR_All%>" onSubmit="return check();">
|
| 66 |
<table width="100%" border="0" cellspacing="0" cellpadding="2" height="100%">
|
70 |
<table width="100%" border="0" cellspacing="0" cellpadding="2" height="100%">
|
| 67 |
<tr>
|
71 |
<tr>
|
| 68 |
|
72 |
|
| 69 |
|
73 |
|
| 70 |
<td background="images/lbox_bg_orange.gif" width="1%" height="1%"><img src="images/h_trsp_dot.gif" width="22" height="1"></td>
|
74 |
<td background="images/lbox_bg_orange.gif" width="1%" height="1%"><img src="images/h_trsp_dot.gif" width="22" height="1"></td>
|
| 71 |
<td background="images/lbox_bg_blue.gif" nowrap width="50%" class="wform_ttl"> ADD ISSUE</td>
|
75 |
<td background="images/lbox_bg_blue.gif" nowrap width="50%" class="wform_ttl"> ADD ISSUE</td>
|
| 72 |
<td background="images/lbox_bg_blue.gif" align="right" width="50%">
|
76 |
<td background="images/lbox_bg_blue.gif" align="right" width="50%">
|
| 73 |
<input type="submit" name="btn" value="ADD" class="form_btn_comp" >
|
77 |
<input type="submit" name="btn" value="ADD" class="form_btn_comp" >
|
| 74 |
<input type="reset" name="btn" value="Cancel" class="form_btn_comp" onclick="self.close()">
|
78 |
<input type="reset" name="btn" value="Cancel" class="form_btn_comp" onclick="self.close()">
|
| 75 |
</td>
|
79 |
</td>
|
| 76 |
<td background="images/lbox_bg_blue.gif" align="right" width="1%%" nowrap>
|
80 |
<td background="images/lbox_bg_blue.gif" align="right" width="1%%" nowrap>
|
| 77 |
<img src="images/h_trsp_dot.gif" width="5" height="22"> </td>
|
81 |
<img src="images/h_trsp_dot.gif" width="5" height="22"> </td>
|
| 78 |
</tr>
|
82 |
</tr>
|
| 79 |
<tr>
|
83 |
<tr>
|
| 80 |
<td height="100%" width="1%"> </td>
|
84 |
<td height="100%" width="1%"> </td>
|
| 81 |
<td valign="top" nowrap colspan="3" class="wform_ttl" background="images/bg_form_lightgray.gif">
|
85 |
<td valign="top" nowrap colspan="3" class="wform_ttl" background="images/bg_form_lightgray.gif">
|
| 82 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
86 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
| 83 |
<tr>
|
87 |
<tr>
|
| 84 |
<td width="2%"><img src="images/h_trsp_dot.gif" width="10" height="30"></td>
|
88 |
<td width="2%"><img src="images/h_trsp_dot.gif" width="10" height="30"></td>
|
| 85 |
<td width="13%" nowrap class="form_group" valign="bottom"></td>
|
89 |
<td width="13%" nowrap class="form_group" valign="bottom"></td>
|
| 86 |
<td nowrap width="85%"> </td>
|
90 |
<td nowrap width="85%"> </td>
|
| 87 |
</tr>
|
91 |
</tr>
|
| 88 |
<tr>
|
92 |
<tr>
|
| 89 |
<td width="2%"> </td>
|
93 |
<td width="2%"> </td>
|
| 90 |
<td width="13%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">JIRA Issue Key: </td>
|
94 |
<td width="13%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">JIRA Issue Key: </td>
|
| 91 |
<td nowrap width="85%" background="images/bg_form_lightbluedark.gif" class="form_txt">
|
95 |
<td nowrap width="85%" background="images/bg_form_lightbluedark.gif" class="form_txt">
|
| 92 |
<input type="text" name="FRJIRAissue" maxlength="20" size="20" class="form_item">
|
96 |
<input type="text" name="FRJIRAissue" maxlength="20" size="20" class="form_item">
|
| 93 |
</td>
|
97 |
</td>
|
| 94 |
</tr>
|
98 |
</tr>
|
| 95 |
<tr>
|
99 |
<tr>
|
| 96 |
<td width="2%"> </td>
|
100 |
<td width="2%"> </td>
|
| 97 |
<td colspan="2" nowrap class="form_field" background="images/bg_form_lightbluedark.gif" valign="top">
|
101 |
<td colspan="2" nowrap class="form_field" background="images/bg_form_lightbluedark.gif" valign="top">
|
| 98 |
</td>
|
102 |
</td>
|
| 99 |
</tr>
|
103 |
</tr>
|
| 100 |
<tr>
|
104 |
<tr>
|
| 101 |
<td width="2%"> </td>
|
105 |
<td width="2%"> </td>
|
| 102 |
<td width="13%" nowrap class="form_field"><img src="images/h_trsp_dot.gif" width="100" height="10"></td>
|
106 |
<td width="13%" nowrap class="form_field"><img src="images/h_trsp_dot.gif" width="100" height="10"></td>
|
| 103 |
<td nowrap width="85%">
|
107 |
<td nowrap width="85%">
|
| 104 |
<p> </p>
|
108 |
<p> </p>
|
| 105 |
</td>
|
109 |
</td>
|
| 106 |
</tr>
|
110 |
</tr>
|
| 107 |
</table>
|
111 |
</table>
|
| 108 |
</td>
|
112 |
</td>
|
| Line 116... |
Line 120... |
| 116 |
</body>
|
120 |
</body>
|
| 117 |
</html>
|
121 |
</html>
|
| 118 |
|
122 |
|
| 119 |
|
123 |
|
| 120 |
<!-- DESTRUCTOR ------->
|
124 |
<!-- DESTRUCTOR ------->
|
| 121 |
<!--#include file="common/destructor.asp"-->
|
- |
|
| 122 |
|
125 |
<!--#include file="common/destructor.asp"-->
|
| - |
|
126 |
|