Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Help creating an issue from an email

Ben Wrigley
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 6, 2011

Hi There,

We are using GreenHopper with Jira and we want to be able to receive emails and have these create issues automatically in a specific 'Version' that we have created.

We tried using the default mail->issue process but there did not seem to be a way to specify the version so we installed the GUI verion instead com.capitalcityconsultants.jira.services.email.CCCEmailHandlerService.

This works fine until I try to specify a version, in which case I get the error.

"Unable to create issue with message." - full stack trace below.

Does anyone know how to either specify a version using the built in method or how to get this GUI version to work?

Thanks in advance.

Ben

java.lang.IllegalArgumentException: [GenericEntity.get] "Id" is not a field of Project

at org.ofbiz.core.entity.GenericEntity.get(GenericEntity.java:150)

at org.ofbiz.core.entity.GenericEntity.getLong(GenericEntity.java:369)

at com.capitalcityconsultants.jira.services.email.handlers.CreateIssueHandler.setIssueVersion(CreateIssueHandler.java:466)

at com.capitalcityconsultants.jira.services.email.handlers.CreateIssueHandler.handleMessage(CreateIssueHandler.java:316)

at com.capitalcityconsultants.jira.services.email.handlers.SimpleEmailHandler.handleMessage(SimpleEmailHandler.java:375)

at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:187)

at com.capitalcityconsultants.jira.services.email.CCCEmailHandlerService.run(CCCEmailHandlerService.java:61)

at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:65)

at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:52)

at org.quartz.core.JobRunShell.run(JobRunShell.java:195)

at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72)

at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

1 answer

0 votes
Andy Brook [Plugin People]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 19, 2012

You dont indicate what your JIRA version is but I see the plugin is listed as 4.4.5 only, not sure if thats a problem? With no access to source, I can only wonder at the cause. Looks like that plugin has a support link.

To my knowledge the default handlers do not support those fields, I do know that JEMH for JIRA 5 certaily support affectsVersion and fixVersions...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events