Picon
Favicon

JIRA : Database Access

Hi,

 

Is it possible to have access to the JIRA Database ?

 

We are setting up a project on JIRA and would like to know if we can have access to that database for any maintenance issues which may arise.

 

Thanks,

Jemima

forums | 22 Sep 2010 04:46

Retrieve Original Estimate via SOAP

There appear to be ways of setting the "Original Estimate" via SOAP (timetracking field), however I cannot
find a way to retrieve it.  Anyone found a way to do this?

And while I am here, any chance of extending the SOAP API to provide simple access to default fields like
this?  :)
--
Post by BenPhegan - online at:
http://forums.atlassian.com/thread.jspa?forumID=100&threadID=47625
forums | 22 Sep 2010 00:07

Why does my plugin's "JIRA Version" read 0.0?

Hi,

When viewing my plugin information in JIRA it says:

Plugin Version: 1.0
JIRA Version: 0.0

Where can I specify which version of JIRA my plugin is supposed to run against?

Thanks,
Gili
--
Post by CowwoC - online at:
http://forums.atlassian.com/thread.jspa?forumID=100&threadID=47622
forums | 21 Sep 2010 18:38

Creating links from plugin

Hi *,
I would like to create links to everything that is affected in my plugin, eg. User object (to user profile),
Issue object (to the issue) but not including "<a href=..." in my template, but using the jira link
generation envitonment (eg. The closed issues are strike-trough, ...)
Is there a way to do this? I cannot find much information on this.
Thnx,
Tamas
--
Post by world.quake - online at:
http://forums.atlassian.com/thread.jspa?forumID=100&threadID=47615
forums | 21 Sep 2010 04:30

create issue listener triggered by email handler doesn't have attachments

When adding issues via the email import service, the attachments don't seem to be available during the
"Create Issue" event in listeners.

Is this expected behavior and/or am I missing something?

All I have done to date is created a listener based on the sample code, tested for the Create event and called
getAttachments() both from the issue referenced by the event and invoking the attachment handler (just
to be sure) with the issue as argument.

By putting a breakpoint on my listener, I have verified that the issue is visible minus the attachment until
I let the listener complete.
--
Post by wizzi - online at:
http://forums.atlassian.com/thread.jspa?forumID=100&threadID=47588
Picon
Favicon

JIRA Setup Issues

Hi,

 

We are setting up a new project on JIRA and are facing the below issue. We have created the screen but while clicking on the ‘Create’ button, the below error is seen:

Errors

  • Summary: You must specify a summary of the issue.

  • Description: Description is required.

  • Component/s: Component/s is required.

Please note that Summary, Description, Component/s are not any of the Custom Fields which we have added in that screen.

Can you please provide some pointers on how to resolve the same?

 

Thanks,

Jemima

forums | 20 Sep 2010 16:57

getValueFromIssue CalculatedCFType

Hi,

I try to display stored CustomFieldValues for each issue in issue navigator.

First storing:

{code}
originalIssue.setCustomFieldValue(CustumField(issueIdInOtherInstance), String(issueKey));
originalIssue.store();
{code}

Second read method:

{code}
public Object getValueFromIssue(CustomField field, Issue issue) {
		
	return issue.getCustomFieldValue(field);
}
{code}

This method should return the currently stored value for this particular issue.

But I end up in loop getting a StackOverflowError.

When I try to retrieve data from the issue or the field variable I get correct values but mixing them up lets me
ending up in an exception.

Thanks

Exception:

{code}An error occurred whilst rendering this message. Please contact the administrators, and inform
them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException:
Invocation of method 'getHtml' in class
com.atlassian.jira.issue.fields.layout.column.ColumnLayoutItemImpl threw exception class
java.lang.StackOverflowError : null at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:251) at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:327) at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:51) at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:95) at org.apach
 e.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.ASTDirec
 tive.render(ASTDirective.java:114) at {code}
--
Post by fr23 - online at:
http://forums.atlassian.com/thread.jspa?forumID=100&threadID=47569
forums | 20 Sep 2010 16:36

JSS validation in Worflow

Giving it another shot, last post was moved under Bamboo development from some reason....

I'm pretty new to Jira and JSS so the question might seems very 'newbie like' to you :)

I would like to add a validation step to my workflow that will disable a button if specific condition is not met.

For example -

Version Release page.
If the 'Resolution' field is anything but 'Internal tests Completed' option, the 'Deploy' button will be disabled.

I tried to find a JSS example script or maybe something similar but failed. Your help is greatly appreciated!
--
Post by IlanB - online at:
http://forums.atlassian.com/thread.jspa?forumID=100&threadID=47567
forums | 20 Sep 2010 16:03

Jelly Scripts

Hi,

I know its possible to provide additional namespaces for custom user tags in Jelly for Jira (like Minyaa
does) but I'm not sure where they get loaded from? Do I need to drop a jar on the classpath somewhere? Can I
provide them via a plugin (v1 or v2)?

Also is there an existing way to execute a bunch of jelly scripts prior to any integration tests being
executed by AMPS?

TIA
James
--
Post by jmcgivern - online at:
http://forums.atlassian.com/thread.jspa?forumID=100&threadID=47566
forums | 20 Sep 2010 14:52

OSGi and external configuration files

Hi,

I am looking for some guidance on migrating existing JIRA plugins to version2/OSGi plugins. I understand
the implications of moving to the version2 plugin framework and have read the [Going from Plugin to OSGi
Bundle|http://confluence.atlassian.com/display/PLUGINFRAMEWORK/Going+from+Plugin+to+OSGi+Bundle]
guide. I am looking for some best practice advice from Atlassian regarding external configuration
(.properties) files for OSGi bundle plugins.

Basically we have several sets of JIRA plugins that each work off a single configuration file that we used to
place in WEB-INF/classes (in fact we separated these files out of the webapp and into a folder Tomcat was
configured to load for ease of maintenance). Given OSGi classloading, the plugins we have converted to
version2 are no longer able to access this configuration; what is the recommended approach in this case,
taking into account that:

* We do not want to duplicate these properties files in each of the plugin bundles for obvious reasons
* These properties contain things like MySQL connection settings etc that we do not want to build a
[configuration
UI|http://confluence.atlassian.com/display/PLUGINFRAMEWORK/Adding+a+Configuration+UI+for+your+Plugin]
for; we want externalised configuration that can be automatically managed (e.g. a property file)

The two approaches we are currently considering are:

* Defining a folder to search for the config file using -D
* Using the [OSGi Configuration
Admin|http://www.osgi.org/javadoc/r4v42/org/osgi/service/cm/ConfigurationAdmin.html] which
we have not yet fully investigated.

Are there other approaches that we haven't considered? What is Atlassian's recommended approach?
--
Post by alanm - online at:
http://forums.atlassian.com/thread.jspa?forumID=100&threadID=47563
forums | 20 Sep 2010 07:57

One for Jamie (or other GroovyRunner folks)...

Hi All -

I am getting to the point in my ScriptRunner and Groovy scripts, where I would be well served by breaking
things apart and creating some shared libraries.

Am not yet sure that building classes (a lot of what I am doing are simple functions) and compiling them makes
sense yet, so I would ideally like to be able to do the equivalent of creating a module in Ruby and including
the scripts that I am creating.

What is the Groovy mechanism best suited to doing something along these lines? Anyone have a pointer to
documentation for someone who is new to Groovy (though comfortable in other scripting languages like Ruby)?

Also, what is the best way - when I am ready to do so - to compile my Groovy classes and function, so that they can
be accessed.

Any documentation pointers would be greatly appreciated.

Jordan
--
Post by jordan@... - online at:
http://forums.atlassian.com/thread.jspa?forumID=100&threadID=47550

Gmane