<%=title%>
<% if (issue != null) { %>
(<%=label.get("issue_id", projectId)%> <%=issueId%> )
<% } %>
<%=label.get("required_field_asterisks")%>
<% if( (field=conf.getField("project_area")) != null && (optionList=field.getValue()) != null) { %>
<%=label.get("project_area", projectId)%>
<%=ListMaker.makeOptionList(optionList, project_area) %>
<% } %>
<% for (int i=1; i<=CUSTOM_FIELDS; i++) {
String fieldName = "field_"+i;
if( (field = conf.getField(fieldName)) != null && (optionList=field.getValue()) != null) { %>
<%=label.get(fieldName, projectId)%>
<% if (field.isTextAreaField()) { %>
<% } else if (field.isTextField()) { %>
<% } else { %>
>
<%=ListMaker.makeOptionList(optionList, issueForm.get(fieldName)) %>
<% }}} %>
<% if((optionList=conf.getField("issue_type").getValue()) != null) { %>
<%=label.get("issue_type", projectId)%>
<%=ListMaker.makeOptionList(optionList, issueForm.get("issue_type")) %>
<% } %>
<% if (issue != null) { %>
<%=label.get("state", projectId)%>
<% if (nextAllowed.length==0) {%>
"><%=issueForm.get("state")%>
<% } else { %>
<%=ListMaker.makeOptionList(nextAllowed, issueForm.get("state")) %>
<% } %>
<% } %>
<% if((optionList=conf.getField("severity").getValue()) != null) { %>
<%=label.get("severity", projectId)%>
<%=ListMaker.makeOptionList(optionList, issueForm.get("severity")) %>
<% } %>
<% if ( !Group.isGuest(person.getGroup()) ) { // this is for non-guest
// Users of group guest are not allowed to manually assign or re-assign
// priority/responsible by default.
// You can change this policy by editing this block of the code
if((optionList=conf.getField("priority").getValue()) != null) { %>
<%=label.get("priority", projectId)%>
<%=ListMaker.makeOptionList(optionList, issueForm.get("priority")) %>
<% } %>
<%=label.get("responsible", projectId)%>
<%=ListMaker.makeOptionList(conf.getAccess().getUsers("edit"), current_assigned) %>
<% } else {
if((optionList=conf.getField("priority").getValue()) != null) {
if (issue != null) { %>
<%=label.get("priority", projectId)%>
" selected><%=issueForm.get("priority")%>
<% } else { //create.jsp, add a hidden NA %>
<% } }
if (issue != null) { //edit.jsp, show only the current responsible %>
<%=label.get("responsible", projectId)%>
<%=conf.getAccess().getDisplay(current_assigned)%>
<% } } //code block ends here %>
<%=label.get("synopsis", projectId)%><%=requiredMark%>
<%=description%>
<%=label.get("attachment", projectId)%>
<% Attachment attachment = issueForm.getAttachment();
if (attachment != null) {
String[] filenames = attachment.getFilenames();
if (filenames != null) {
for (int i=0; i 0) out.print(";");
out.print(filenames[i]);
}
}
}
%>
<% String cc_mail = issueForm.get("cc_mail");
// if you want the original submitter always get the email, uncomment the following block.
/*
if (issue != null) { // only for edit.jsp
String submitter_email = conf.getAccess().getEmail(issue.get("author"));
if (submitter_email != null) {
if (cc_mail == null) {
cc_mail = submitter_email;
} else if (cc_mail.indexOf(submitter_email)==-1) {
cc_mail = submitter_email+';'+cc_mail;
}
}
}
*/
%>
<%=label.get("cc_mail", projectId)%>
<% if (issue==null || nextAllowed.length > 0) {
String checked = "";
if (issueForm.get("no_email") != null) {
checked = "checked";
} %>
No email notification
>
">
">
<% } else { %>
<%=HtmlParser.escapeTag(MessageCode.get("jsp.no_allowed_state"))%>
<% } %>