forums | 24 May 2011 00:05

field time in jira database??

hello

I need to retrieve data from the database ,
I want to retrieve time during wich a ticket is assigned to an assignee!!
I have done some exploration into the database but I haven't found where the field time is stored ?? ( please
look at the attached file)

thank you
--
Post by tommy_j - online at:
http://forums.atlassian.com/thread.jspa?forumID=100&threadID=54151
forums | 23 May 2011 19:41

Hyphen causing error in Velocity template

I have a Velocity template that is copied from the Comment section from an Issue.  I want to put an internal
page link, down to a specific Comment ID.

However, when I attempt to put a variable ($commentId) in the href link, I keep getting a Velocity error,
complaining about the hyphen.  I've tried using character codes for the hyphen, that didn't work either.

I'm stuck with the hyphen, because that's how Atlassian has decided to name the id's for the Comments
section.  I've tried searching on using a hyphen in Velocity scripts, and found some reference that it
needs to be handled differently, but can't find the answer.

If I don't put a velocity $variable in the href statement, it works just fine.  I think the hash (#) in front of
comment is what's setting the whole thing off.  if I remove the #, it also works ok, with the variable.

Here's the line from my Velocity script:
{code}
<a href="${urlPrefix}#comment-$commentId-open"><font size="1" color="grey">...(truncated)</font></a>
{code}

Here's the error I get:
{code}
org.apache.velocity.exception.ParseErrorException: Lexical error:
org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at line 18, column 47.
Encountered: "-" (45)
{code}

Thanks for any help.

-Cory
--
Post by csytsma - online at:
(Continue reading)

forums | 23 May 2011 17:46

How to get Informations about ParentTask or Subtask via SOAP

Hello,

how can I get Informtion about which Task is Subtask of another via SOAP. 
When I See the WSDL I don#t find anything like this. When I Get an Issue there is no Information about a Parent
or Subtask only the Typ indicate if it is Subtask or not.
How can I get this together, to find the ParentTask for a Subtask via SOAP.

regards 
Chris
--
Post by kekskennzeichen - online at:
http://forums.atlassian.com/thread.jspa?forumID=100&threadID=54142
forums | 23 May 2011 14:29

[Script Runner] How to check a custom field value in a workflow validator?

Hi,

I want to use the Script runner plugin to check if a "multi checkbox" custom field is selected (In fact, it has
only 1 option 'Yes') in a workflow validator?

I tried this:

{code}
cfValues['10203'] != 'Yes'
{code}

But that does not work. The value is always null.

regards,

Wim
--
Post by festerwim - online at:
http://forums.atlassian.com/thread.jspa?forumID=100&threadID=54137
forums | 23 May 2011 14:21

Getting this error when attaching screenshot.

Hi,
Am using JIRA 4.2.1, when I try to attaching a screenshot am getting the below error after click attach
button in attach screen shot screen.

HTTP Status 404 - /browse/PM-24725 
type Status report

message /browse/PM-24725

description The requested resource (/browse/PM-24725) is not available.

Apache Tomcat/6.0.14                                   "

Please suggest.

Thanks in advance
--
Post by mksaran10 - online at:
http://forums.atlassian.com/thread.jspa?forumID=100&threadID=54136
forums | 23 May 2011 13:59

How to get custom field options

Hi All,

I am trying to develop a validator plug-in and i need to get the options of the custom field. In order to get the
options there are methods and i am using it in 

protected void getVelocityParamsForInput(Map<String, Object> velocityParams) 
{
     customFieldManager.getCustomFieldObjectByName(fieldName).getOptions(key, jiraContextNode);
     /// i am not able to understand how to get jiracontextnode and make use of this method.
}

Kindly let me know if there are some other possibilities to achieve this?

Thanks in advance.

Regards,
Jagan.
--
Post by lear - online at:
http://forums.atlassian.com/thread.jspa?forumID=100&threadID=54135
forums | 23 May 2011 13:26

How to customize clone issue screen?

Hi,

When I try to clone a issue in JIRA 4.2.1, its showing screen with Summary field and clone attachment.
I need to include description field also in the clone screen.
How to implement this.
Please suggest.

Thanks in advance
--
Post by mksaran10 - online at:
http://forums.atlassian.com/thread.jspa?forumID=100&threadID=54134
forums | 23 May 2011 12:45

ProjectRoleManager Jython script

Hi
I´m creating a validator in a Jython script.  I wan´t to use project roles within the script but I can´t get
hold of the ProjectRoleManager.
Have anybody done this? How should I get hold of the ProjectRoleManager? It´s no problem to get hold of the
current users groups but it´s the project roles that I´m interessted in.

Most thankful for any hints or suggestions.
Best Regards
Annicka
--
Post by annicka - online at:
http://forums.atlassian.com/thread.jspa?forumID=100&threadID=54132
forums | 23 May 2011 12:21

How to display issue type name and priority value?

Hi,

In JIRA 4.2.1 Issue navigator screen, for issue type and priority column, its displaying the image.
But our client wants to display the text instead of image. For eg, IssTyp1,IssTyp2, P1, P2 etc.
How to change this?

Please suggest.

Thanks
--
Post by mksaran10 - online at:
http://forums.atlassian.com/thread.jspa?forumID=100&threadID=54130
forums | 23 May 2011 11:59

"Remember My Login' is not working

Hi,

"Remembere My Login' is not working in our JIRA 4.2.1
The Steps are,
1. User tick the check box while login, doing some operation in JIRA and logout.
2. After sometime user open new browser and access the JIRA url, in the login screen his crediential is not
displaying. he has to enter the username and password again.

Please suggest.

Thanks
--
Post by mksaran10 - online at:
http://forums.atlassian.com/thread.jspa?forumID=100&threadID=54128
forums | 22 May 2011 12:07

JIRA database schema

Hello,
I have looked at schema of JIRA database (I have externalized the database to my own base) but I haven't
understand the relations between tables ( no foreigne key ). 
How can I create SQL request on the database if there ara not constraint foreigne key?
--
Post by tommy_j - online at:
http://forums.atlassian.com/thread.jspa?forumID=100&threadID=54115

Gmane