Subversion Repositories DevTools

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
119 ghuddy 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
Option explicit
4
Response.Expires = 0	' always load the page, dont store
5
%>
6
<%
7
'=====================================================
8
'					Adding A Jira Issue
9
'=====================================================
10
%>
11
<!--#include file="common/conf.asp"-->
12
<!--#include file="common/globals.asp"-->
13
<!--#include file="common/qstr.asp"-->
14
<!--#include file="common/common_subs.asp"-->
15
<!--#include file="common/formating.asp"-->
16
<!--#include file="common/common_dbedit.asp"-->
17
<!--#include file="common/_popup_window_common.asp"-->
18
<%
19
'------------ ACCESS CONTROL ------------------
20
%>
21
<!--#include file="_access_control_login.asp"-->
22
<!--#include file="_access_control_general.asp"-->
23
<!--#include file="_access_control_project.asp"-->
24
<%
25
'------------ Variable Definition -------------
26
Dim ParPv_id
27
'------------ Constants Declaration -----------
28
'------------ Variable Init -------------------
29
'----------------------------------------------
30
%>
31
<%ParPv_id = Request("pv_id")%>
32
<%
33
Function Insert_JIRA_Issue( SSissue )
34
 
35
	OraSession.BeginTrans
36
	OraDatabase.ExecuteSQL _
37
		" INSERT INTO JIRA_ISSUES (pv_id, issue_link)"&_
38
		" VALUES ("& ParPv_id &", '"& SSissue &"')"
39
 
40
	OraDatabase.ExecuteSQL _
41
			"BEGIN  Log_Action ( "& ParPv_id &", 'jira_issue_added', "& objAccessControl.UserId &", 'Issue Key: "& SSissue &" Added' );  END;"
42
 
43
  	OraSession.CommitTrans
44
End Function
45
%>
46
<%
47
'Process submition
48
If Request("btn") = "ADD" AND objAccessControl.UserLogedIn Then
49
		Call Insert_JIRA_Issue ( QStrPar("FRJIRAissue"))
50
		Call OpenInParentWindow ("fixed_issues.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id)
51
		Call CloseWindow
52
 
53
End If
54
%>
55
<html>
56
<head>
57
<title>Release Manager</title>
58
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
59
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
60
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
61
<link rel="stylesheet" href="images/navigation.css" type="text/css">
62
 
63
</head>
64
<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();">
66
  <table width="100%" border="0" cellspacing="0" cellpadding="2" height="100%">
67
    <tr> 
68
 
69
 
70
      <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">&nbsp;ADD ISSUE</td>
72
      <td background="images/lbox_bg_blue.gif" align="right" width="50%"> 
73
        <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()">
75
      </td>
76
      <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>
78
    </tr>
79
    <tr> 
80
      <td height="100%" width="1%">&nbsp;</td>
81
      <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">
83
          <tr> 
84
            <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>
86
            <td nowrap width="85%">&nbsp; </td>
87
          </tr>
88
          <tr> 
89
            <td width="2%">&nbsp;</td>
90
            <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"> 
92
              <input type="text" name="FRJIRAissue" maxlength="20" size="20" class="form_item">
93
            </td>
94
          </tr>
95
          <tr> 
96
            <td width="2%">&nbsp;</td>
97
            <td colspan="2" nowrap class="form_field" background="images/bg_form_lightbluedark.gif" valign="top">&nbsp; 
98
            </td>
99
          </tr>
100
          <tr> 
101
            <td width="2%">&nbsp;</td>
102
            <td width="13%" nowrap class="form_field"><img src="images/h_trsp_dot.gif" width="100" height="10"></td>
103
            <td nowrap width="85%"> 
104
              <p>&nbsp;</p>
105
            </td>
106
          </tr>
107
        </table>
108
      </td>
109
    </tr>
110
    <tr>
111
      <td height="1%" width="1%"><img src="images/h_trsp_dot.gif" width="5" height="5"></td>
112
      <td valign="top" nowrap colspan="3" class="wform_ttl" background="images/lbox_bg_blue.gif"></td>
113
    </tr>
114
  </table>
115
</form>
116
</body>
117
</html>
118
 
119
 
120
<!-- DESTRUCTOR ------->
121
<!--#include file="common/destructor.asp"-->