The forums are read only! All new discussions will need to take place on answers.atlassian.com. These forums will remain available as a read only resource. Some features have been disabled. See the Answers FAQ for more information.

Home » Atlassian Forums » Software » JIRA

Community Forums

This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 9 - Pages: 1 - Last Post: Jun 21, 2010 2:38 PM Last Post By: mandadi
mandadi

Posts: 8
Registered: 06/04/10
How to create a custom form in Jira using velocity
Posted: Jun 10, 2010 3:47 PM
 
Click to report abuse...   Click to reply to this thread Reply
I have a requirement where i need to create a form with couple of text fields and then when the user click on add button the data should go into a custom table in jira, i tried different things but unsuccessfull, can anyone point me to some samples which will help me to create custom forms in jira
Jobin Kuruvilla

Posts: 1,400
Registered: 07/30/08
Re: How to create a custom form in Jira using velocity
Posted: Jun 10, 2010 9:05 PM    global.in_response_to.tooltip in response to: mandadi
 
Click to report abuse...   Click to reply to this thread Reply
Looks like you need a new Web Fragment with your own action class and jsps.

http://confluence.atlassian.com/display/JIRA/Web+Fragments
mandadi

Posts: 8
Registered: 06/04/10
Re: How to create a custom form in Jira using velocity
Posted: Jun 15, 2010 1:57 PM    global.in_response_to.tooltip in response to: Jobin Kuruvilla
 
Click to report abuse...   Click to reply to this thread Reply
Hi Jobin,
Thanks for the reply, one of main things i am having is how to call the action class from form action, let me show you the sample what i am trying to do in my vm i am creating a form and trying to call a method doAdd in AddBuildComment class i tried different things but it didn't work i am always getting an error saying its not a valid reference

i get an error
2010-06-15 11:33:32,390 http-8080-5 WARN administrator 693x45x1 1xvgv3b 127.0.0.1 /browse/SS/fixforversion/2 velocity org.apache.velocity.runti
me.exception.ReferenceException: reference : template = templates/builds/builds-view.vm line 24,column 48 : $action.doAdd is not a valid refere
nce.
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:277)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at org.apache.velocity.Template.merge(Template.java:256)
at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:422)
at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77)
at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61)
at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:56)
at com.atlassian.jira.plugin.JiraResourcedModuleDescriptor.getHtml(JiraResourcedModuleDescriptor.java:109)
at com.sensage.jira.plugin.ListBuildsVersionPanel.getHtml(ListBuildsVersionPanel.java:100)
at com.sensage.jira.plugin.ListBuildsVersionPanel.getHtml(ListBuildsVersionPanel.java:1)
at com.atlassian.jira.web.action.browser.BrowseVersion.getTabHtml(BrowseVersion.java:158)
at com.atlassian.jira.web.action.browser.BrowseVersion.getTabHtmlForJSON(BrowseVersion.java:127)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70)
at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56)
at webwork.util.ValueStack.findValue(ValueStack.java:412)
at webwork.util.ValueStack.findValue(ValueStack.java:213)
at webwork.view.taglib.WebWorkBodyTagSupport.findValue(WebWorkBodyTagSupport.java:62)
at webwork.view.taglib.BasicPropertyTag.doStartTag(BasicPropertyTag.java:52)
at org.apache.jsp.secure.views.browser.contentonly_jsp._jspx_meth_webwork_005fproperty_005f0(contentonly_jsp.java:95)
at org.apache.jsp.secure.views.browser.contentonly_jsp._jspService(contentonly_jsp.java:66)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)

<form name = "add_comment" action="$action.doAdd" method="post">
<input type = "hidden" name="build_id" value="$buildid">
<td> <input type = "text" name ="addcoment" value=""></td>
<td> <input type = "submit" value="doAdd"></td>
</form>

<webwork1 key="add-comment" name="Add comment to build" class="java.lang.Object">
<actions>
<action name="com.sensage.jira.plugin.AddBuildComment" alias="CommentOnBuildResults">
<view name="view" type="velocity">templates/builds/builds-view.vm</view>
<view name="success" type="velocity">templates/builds/builds-comment-view.vm</view>
</action>
</actions>
</webwork1>

Jobin Kuruvilla

Posts: 1,400
Registered: 07/30/08
Re: How to create a custom form in Jira using velocity
Posted: Jun 15, 2010 2:17 PM    global.in_response_to.tooltip in response to: mandadi
 
Click to report abuse...   Click to reply to this thread Reply
Try the following as your action instead of $action.doAdd

CommentOnBuildResults!add.jspa
mandadi

Posts: 8
Registered: 06/04/10
Re: How to create a custom form in Jira using velocity
Posted: Jun 15, 2010 6:45 PM    global.in_response_to.tooltip in response to: Jobin Kuruvilla
 
Click to report abuse...   Click to reply to this thread Reply
Hi Jobin,
I tried it when i tried to click the doAdd button its taking me to the previous page and not invoking the action class i am seeing the below messages on th e console

tStatus()
2010-06-15 16:35:23,765 http-8080-1 DEBUG administrator 995x46x1 16vkkzq 127.0.0.1 /browse/SS/fixforversion/2 http://org.objectweb.jotm.jta Current.ge
tStatus()
2010-06-15 16:35:23,781 http-8080-1 DEBUG administrator 995x46x1 16vkkzq 127.0.0.1 /browse/SS/fixforversion/2 http://org.objectweb.jotm.jta Current.ge
tStatus()
2010-06-15 16:35:24,125 http-8080-1 DEBUG administrator 995x46x1 16vkkzq 127.0.0.1 /browse/SS/fixforversion/2 http://org.objectweb.jotm.jta Current.ge
tStatus()
2010-06-15 16:35:36,656 http-8080-1 DEBUG administrator 995x47x1 16vkkzq 127.0.0.1 /browse/SS/fixforversion/CommentOnBuildResults!add.jspa [org.o
bjectweb.jotm.jta] Current.getStatus()
2010-06-15 16:35:36,656 http-8080-1 DEBUG administrator 995x47x1 16vkkzq 127.0.0.1 /browse/SS/fixforversion/CommentOnBuildResults!add.jspa [org.o
bjectweb.jotm.jta] Current.getStatus()
2010-06-15 16:35:36,843 http-8080-1 DEBUG administrator 995x47x1 16vkkzq 127.0.0.1 /browse/SS/fixforversion/CommentOnBuildResults!add.jspa [org.o
bjectweb.jotm.jta] Current.getStatus()
2010-06-15 16:35:36,859 http-8080-1 DEBUG administrator 995x47x1 16vkkzq 127.0.0.1 /browse/SS/fixforversion/CommentOnBuildResults!add.jspa [org.o
bjectweb.jotm.jta] Current.getStatus()
2010-06-15 16:35:36,906 http-8080-1 DEBUG administrator 995x47x1 16vkkzq 127.0.0.1 /browse/SS/fixforversion/CommentOnBuildResults!add.jspa [org.o
bjectweb.jotm.jta] Current.getStatus()
2010-06-15 16:35:36,906 http-8080-1 DEBUG administrator 995x47x1 16vkkzq 127.0.0.1 /browse/SS/fixforversion/CommentOnBuildResults!add.jspa [org.o
bjectweb.jotm.jta] Current.getStatus()
2010-06-15 16:35:36,937 http-8080-1 DEBUG administrator 995x47x1 16vkkzq 127.0.0.1 /browse/SS/fixforversion/CommentOnBuildResults!add.jspa [org.o
bjectweb.jotm.jta] Current.getStatus()
2010-06-15 16:35:36,937 http-8080-1 DEBUG administrator 995x47x1 16vkkzq 127.0.0.1 /browse/SS/fixforversion/CommentOnBuildResults!add.jspa [org.o
bjectweb.jotm.jta] Current.getStatus()
2010-06-15 16:35:37,171 http-8080-1 DEBUG administrator 995x47x1 16vkkzq 127.0.0.1 /browse/SS/fixforversion/CommentOnBuildResults!add.jspa [org.o
bjectweb.jotm.jta] Current.getStatus()
Jobin Kuruvilla

Posts: 1,400
Registered: 07/30/08
Re: How to create a custom form in Jira using velocity
Posted: Jun 15, 2010 8:58 PM    global.in_response_to.tooltip in response to: mandadi
 
Click to report abuse...   Click to reply to this thread Reply
Which is your action class and what is the method you want to invoke? I tried to interpret from your earlier action and the acion class in the atlassian-plugin.xml !
mandadi

Posts: 8
Registered: 06/04/10
Re: How to create a custom form in Jira using velocity
Posted: Jun 16, 2010 2:24 PM    global.in_response_to.tooltip in response to: Jobin Kuruvilla
 
Click to report abuse...   Click to reply to this thread Reply
Below you can find my action class

package com.sensage.jira.plugin;
import com.atlassian.jira.plugin.versionpanel.BrowseVersionContext;
import com.atlassian.jira.plugin.versionpanel.VersionTabPanel;
import com.atlassian.jira.plugin.versionpanel.VersionTabPanelModuleDescriptor;
import com.atlassian.jira.security.JiraAuthenticationContext;
import com.atlassian.jira.web.action.JiraWebActionSupport;
import com.atlassian.jira.web.action.ProjectActionSupport;
import com.atlassian.jira.action.JiraActionSupport;
import com.atlassian.jira.issue.search.SearchProvider;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.SQLWarning;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import com.atlassian.jira.util.ParameterUtils;
import com.opensymphony.user.User;

import javax.naming.Context;
import javax.naming.InitialContext;
import javax.sql.DataSource;

import org.apache.log4j.Logger;
import org.apache.velocity.app.Velocity;
@SuppressWarnings("serial")
public class AddBuildComment extends JiraWebActionSupport {
public AddBuildComment() {
}
private static final Logger log = Logger.getLogger(AddBuildComment.class);
public void doAdd (Map params, Context context) {
String build_comment = ParameterUtils.getStringParam(params, "add_comment");
Long build_id = ParameterUtils.getLongParam(params, "build_id");
log.debug("build comment about to add for build "build_id" comment "+build_comment);
String warningStr ="";
String exceptionStr ="";
String query = "update build set comment = "build_comment" where build_id = "+build_id;
Connection conn = null;
try
{
Context initCtx = new InitialContext();
DataSource ds = (DataSource) initCtx.lookup("java:comp/env/jdbc/JiraDS");
conn = ds.getConnection();
Statement st = conn.createStatement();
st.execute(query);
SQLWarning warning = st.getWarnings();
if (null != warning)
{
warningStr = "

Warning:" + warning.getMessage() + "

";
}
}
catch (Throwable t)
{
ByteArrayOutputStream stackTrace = new ByteArrayOutputStream();
t.printStackTrace(new PrintStream(stackTrace));
exceptionStr = "

Exception: " + t.getMessage() + "

" + stackTrace.toString() + "

";
}
finally
{
if (null != conn)
{
try
{
conn.close();
}
catch (SQLException ex)
{
// we don't care if it gets an exception closing the connection
// just eat the exception and continue
}
}
}
}
@Override
public User getRemoteUser() {
// TODO Auto-generated method stub
return null;
}
@Override
protected String doExecute() throws Exception {
return SUCCESS;
}
}
Jobin Kuruvilla

Posts: 1,400
Registered: 07/30/08
Re: How to create a custom form in Jira using velocity
Posted: Jun 16, 2010 10:19 PM    global.in_response_to.tooltip in response to: mandadi
 
Click to report abuse...   Click to reply to this thread Reply
its difficult to see where the method starts and ends :) Anyways, try returning String in doAdd instead of void and return success if it is execute properly!

OR do the logic in doExecute and return success. In this case the action will be just CommentOnBuildResults.jspa
mandadi

Posts: 8
Registered: 06/04/10
Re: How to create a custom form in Jira using velocity
Posted: Jun 17, 2010 6:50 PM    global.in_response_to.tooltip in response to: Jobin Kuruvilla
 
Click to report abuse...   Click to reply to this thread Reply
Hi Jobin,
I tried both the ways without much success, i am not sure what i am doing wrong, i guess i am missing something it shouldn't be that hard to create the form using jira frame work

package com.sensage.jira.plugin;
import com.atlassian.jira.plugin.versionpanel.BrowseVersionContext;
import com.atlassian.jira.plugin.versionpanel.VersionTabPanel;
import com.atlassian.jira.plugin.versionpanel.VersionTabPanelModuleDescriptor;
import com.atlassian.jira.security.JiraAuthenticationContext;
import com.atlassian.jira.web.action.JiraWebActionSupport;
import com.atlassian.jira.web.action.ProjectActionSupport;
import com.atlassian.jira.action.JiraActionSupport;
import com.atlassian.jira.issue.search.SearchProvider;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.SQLWarning;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import com.atlassian.jira.util.ParameterUtils;
import com.opensymphony.user.User;

import javax.naming.Context;
import javax.naming.InitialContext;
import javax.sql.DataSource;

import org.apache.log4j.Logger;
import org.apache.velocity.app.Velocity;
@SuppressWarnings("serial")
public class AddBuildComment extends JiraWebActionSupport {
public AddBuildComment() {
}
private static final Logger log = Logger.getLogger(AddBuildComment.class);
public String doAdd (Map params, Context context) {
String build_comment = ParameterUtils.getStringParam(params, "add_comment");
Long build_id = ParameterUtils.getLongParam(params, "build_id");
log.debug("build comment about to add for build "build_id" comment "+build_comment);
String warningStr ="";
String exceptionStr ="";
String query = "update build set comment = "build_comment" where build_id = "+build_id;
Connection conn = null;
try
{
Context initCtx = new InitialContext();
DataSource ds = (DataSource) initCtx.lookup("java:comp/env/jdbc/JiraDS");
conn = ds.getConnection();
Statement st = conn.createStatement();
st.execute(query);
SQLWarning warning = st.getWarnings();
if (null != warning)
{
warningStr = "

Warning:" + warning.getMessage() + "

";
}
}
catch (Throwable t)
{
ByteArrayOutputStream stackTrace = new ByteArrayOutputStream();
t.printStackTrace(new PrintStream(stackTrace));
exceptionStr = "

Exception: " + t.getMessage() + "

" + stackTrace.toString() + "

";
}
finally
{
if (null != conn)
{
try
{
conn.close();
}
catch (SQLException ex)
{
// we don't care if it gets an exception closing the connection
// just eat the exception and continue
}
}
}
return SUCCESS;
}
@Override
public User getRemoteUser() {
// TODO Auto-generated method stub
return null;
}
protected String doExecute(Map params, Context context) throws Exception {
String build_comment = ParameterUtils.getStringParam(params, "add_comment");
Long build_id = ParameterUtils.getLongParam(params, "build_id");
log.debug("build comment about to add for build "build_id" comment "+build_comment);
String warningStr ="";
String exceptionStr ="";
String query = "update build set comment = "build_comment" where build_id = "+build_id;
Connection conn = null;
try
{
Context initCtx = new InitialContext();
DataSource ds = (DataSource) initCtx.lookup("java:comp/env/jdbc/JiraDS");
conn = ds.getConnection();
Statement st = conn.createStatement();
st.execute(query);
SQLWarning warning = st.getWarnings();
if (null != warning)
{
warningStr = "

Warning:" + warning.getMessage() + "

";
}
}
catch (Throwable t)
{
ByteArrayOutputStream stackTrace = new ByteArrayOutputStream();
t.printStackTrace(new PrintStream(stackTrace));
exceptionStr = "

Exception: " + t.getMessage() + "

" + stackTrace.toString() + "

";
}
finally
{
if (null != conn)
{
try
{
conn.close();
}
catch (SQLException ex)
{
// we don't care if it gets an exception closing the connection
// just eat the exception and continue
}
}
}
return SUCCESS;
}
}

plugin.xml

<atlassian-plugin key="com.sensage.jira.plugin" name="SenSage" plugins-version="2">
<plugin-info>
<description>This is the SenSage plugin for Atlassian JIRA.</description>
<version>1.0</version>
<vendor name="SenSage" url="http://www.sensage.com/" />
</plugin-info>
<version-tabpanel key="listbuilds-versionpanel" name="List Builds Version Panel" class="com.sensage.jira.plugin.ListBuildsVersionPanel">
<description key="list.builds.version.panel.description"/>
<name key="list.builds.version.panel.name"/>
<label key="list.builds.version.panel.label"/>
<resource type="velocity" name="view" location="templates/builds/builds-view.vm" />
<resource type="i18n" name="i18n" location="com.sensage.jira.plugin.i18n"/>
</version-tabpanel>
<report key="test-results" name="Test Results" class="com.sensage.jira.plugin.report.TestResults">
<description key="report.testresults.description">Test results for a particular build.</description>
<label key="report.testresuts.label"/>
<resource type="i18n" name="i18n" location="com.sensage.jira.plugin.i18n"/>
<properties>
<property>
<key>buildId</key>
<name>report.testresults.buildid</name>
<description>report.testresults.buildid.description</description>
<type>long</type>
</property>
</properties>
</report>
<webwork1 key="add-comment" name="Add comment to build" class="java.lang.Object">
<actions>
<action name="com.sensage.jira.plugin.AddBuildComment" alias="CommentOnBuildResults">
<view name="input" type="velocity">/templates/builds/builds-view.vm</view>
<view name="success" type="velocity">/templates/builds/builds-comment-view.vm</view>
</action>
</actions>
</webwork1>
</atlassian-plugin>

Console output

etStatus()
2010-06-17 16:45:01,171 http-8080-2 DEBUG administrator 1005x51x1 1lqulcu 127.0.0.1 /browse/SS/fixforversion/2 http://org.objectweb.jotm.jta Current.g
etStatus()
2010-06-17 16:45:01,578 http-8080-5 DEBUG anonymous 1005x56x4 1lqulcu 127.0.0.1 /s/519/4/1.0/_/download/resources/jira.webresources:global-static
/global.css http://org.objectweb.jotm.jta Current.getStatus()
2010-06-17 16:45:01,578 http-8080-5 DEBUG anonymous 1005x56x4 1lqulcu 127.0.0.1 /s/519/4/1.0/_/download/resources/jira.webresources:global-static
/global.css http://org.objectweb.jotm.jta Current.getStatus()
2010-06-17 16:45:01,578 http-8080-5 DEBUG anonymous 1005x56x4 1lqulcu 127.0.0.1 /s/519/4/1.0/_/download/resources/jira.webresources:global-static
/global.css http://org.objectweb.jotm.jta Current.getStatus()
2010-06-17 16:45:01,578 http-8080-5 DEBUG anonymous 1005x56x4 1lqulcu 127.0.0.1 /s/519/4/1.0/_/download/resources/jira.webresources:global-static
/global.css http://org.objectweb.jotm.jta Current.getStatus()
2010-06-17 16:45:01,593 http-8080-5 DEBUG anonymous 1005x56x4 1lqulcu 127.0.0.1 /s/519/4/1.0/_/download/resources/jira.webresources:global-static
/global.css http://org.objectweb.jotm.jta Current.getStatus()
2010-06-17 16:45:01,593 http-8080-5 DEBUG anonymous 1005x56x4 1lqulcu 127.0.0.1 /s/519/4/1.0/_/download/resources/jira.webresources:global-static
/global.css http://org.objectweb.jotm.jta Current.getStatus()
2010-06-17 16:45:01,593 http-8080-5 DEBUG anonymous 1005x56x4 1lqulcu 127.0.0.1 /s/519/4/1.0/_/download/resources/jira.webresources:global-static
/global.css http://org.objectweb.jotm.jta Current.getStatus()
2010-06-17 16:45:01,593 http-8080-5 DEBUG anonymous 1005x56x4 1lqulcu 127.0.0.1 /s/519/4/1.0/_/download/resources/jira.webresources:global-static
/global.css http://org.objectweb.jotm.jta Current.getStatus()
2010-06-17 16:45:01,593 http-8080-5 DEBUG anonymous 1005x56x4 1lqulcu 127.0.0.1 /s/519/4/1.0/_/download/resources/jira.webresources:global-static
/global.css http://org.objectweb.jotm.jta Current.getStatus()
2010-06-17 16:45:01,593 http-8080-5 DEBUG anonymous 1005x56x4 1lqulcu 127.0.0.1 /s/519/4/1.0/_/download/resources/jira.webresources:global-static
/global.css http://org.objectweb.jotm.jta Current.getStatus()
2010-06-17 16:45:01,593 http-8080-5 DEBUG anonymous 1005x56x4 1lqulcu 127.0.0.1 /s/519/4/1.0/_/download/resources/jira.webresources:global-static
/global.css http://org.objectweb.jotm.jta Current.getStatus()
2010-06-17 16:45:01,593 http-8080-5 DEBUG anonymous 1005x56x4 1lqulcu 127.0.0.1 /s/519/4/1.0/_/download/resources/jira.webresources:global-static
/global.css http://org.objectweb.jotm.jta Current.getStatus()
2010-06-17 16:45:01,593 http-8080-5 DEBUG anonymous 1005x56x4 1lqulcu 127.0.0.1 /s/519/4/1.0/_/download/resources/jira.webresources:global-static
/global.css http://org.objectweb.jotm.jta Current.getStatus()
2010-06-17 16:45:01,890 http-8080-6 DEBUG administrator 1005x77x4 1lqulcu 127.0.0.1 /secure/projectavatar http://org.objectweb.jotm.jta Current.getSta
tus()
2010-06-17 16:45:01,890 http-8080-6 DEBUG administrator 1005x77x4 1lqulcu 127.0.0.1 /secure/projectavatar http://org.objectweb.jotm.jta Current.getSta
tus()
2010-06-17 16:45:01,890 http-8080-6 DEBUG administrator 1005x77x4 1lqulcu 127.0.0.1 /secure/projectavatar http://org.objectweb.jotm.jta Current.getSta
tus()
2010-06-17 16:45:05,515 http-8080-2 DEBUG administrator 1005x95x1 1lqulcu 127.0.0.1 /browse/SS/fixforversion/CommentOnBuildResults.jspa [org.obje
ctweb.jotm.jta] Current.getStatus()
2010-06-17 16:45:05,515 http-8080-2 DEBUG administrator 1005x95x1 1lqulcu 127.0.0.1 /browse/SS/fixforversion/CommentOnBuildResults.jspa [org.obje
ctweb.jotm.jta] Current.getStatus()
2010-06-17 16:45:05,531 http-8080-2 DEBUG administrator 1005x95x1 1lqulcu 127.0.0.1 /browse/SS/fixforversion/CommentOnBuildResults.jspa [org.obje
ctweb.jotm.jta] Current.getStatus()
2010-06-17 16:45:05,531 http-8080-2 DEBUG administrator 1005x95x1 1lqulcu 127.0.0.1 /browse/SS/fixforversion/CommentOnBuildResults.jspa [org.obje
ctweb.jotm.jta] Current.getStatus()
2010-06-17 16:45:05,546 http-8080-2 DEBUG administrator 1005x95x1 1lqulcu 127.0.0.1 /browse/SS/fixforversion/CommentOnBuildResults.jspa [org.obje
ctweb.jotm.jta] Current.getStatus()
2010-06-17 16:45:05,546 http-8080-2 DEBUG administrator 1005x95x1 1lqulcu 127.0.0.1 /browse/SS/fixforversion/CommentOnBuildResults.jspa [org.obje
ctweb.jotm.jta] Current.getStatus()
2010-06-17 16:45:05,546 http-8080-2 DEBUG administrator 1005x95x1 1lqulcu 127.0.0.1 /browse/SS/fixforversion/CommentOnBuildResults.jspa [org.obje
ctweb.jotm.jta] Current.getStatus()
2010-06-17 16:45:05,546 http-8080-2 DEBUG administrator 1005x95x1 1lqulcu 127.0.0.1 /browse/SS/fixforversion/CommentOnBuildResults.jspa [org.obje
ctweb.jotm.jta] Current.getStatus()
2010-06-17 16:45:05,546 http-8080-2 DEBUG administrator 1005x95x1 1lqulcu 127.0.0.1 /browse/SS/fixforversion/CommentOnBuildResults.jspa [org.obje
ctweb.jotm.jta] Current.getStatus()

mandadi

Posts: 8
Registered: 06/04/10
Re: How to create a custom form in Jira using velocity
Posted: Jun 21, 2010 2:38 PM    global.in_response_to.tooltip in response to: mandadi
 
Click to report abuse...   Click to reply to this thread Reply
Hi Jobin,
It worked, i have to chage give the path of the action class as action="${baseurl}/secure/AddBuildComment.jspa" then its invoking the action class

Thanks for your help

Regards,
Shirish
Legend
Genius: 1000 - 10000 pts
Expert: 500 - 999 pts
Guide: 250 - 499 pts
Enthusiast: 50 - 249 pts
Newbie: 5 - 49 pts
Atlassian Employee
Atlassian Partner
Genius!
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums