issue creation by mail broken

Setup: mail-profile for incoming mails. matches against addressee to get the project, like

All the sudden this stopped working, resulting in rejections with the following hints:

<th>Hint #{0}:</th><th>Provided Value</th><th>Valid Values</th><th>Message</th>
1 n/a n/a <th>Detail</th>
Unable to process issue, the exising configuration does not allow this issue to be created, detail: No issueType could be determined for the new issue, check defaults.
<th>Cause</th> <th>Caused By</th> <th>Caused rejection</th>

class : com.javahollic.jira.emh.engine.InsufficientInformationException

No issueType could be determined for the new issue, check defaults.


The following values were provided, check validity:project: FOUND (BF), reporter: FOUND (cju), issueType: FOUND (Projektleitung), summary: FOUND (null),

4 answers

I have to add, that the mail containsw a summary.

Original Email:

<th>Subject:</th> <th>Sent Date:</th>
mail test

2014-03-17 14:30:01,000


so why does the issue creation fail all the sudden?

0 vote

Your mail handler has been configured to create a certain type of issue in a certain project (when it can't match the incoming email to an existing issue)

However, you've configured that project to NOT have that type of issue in it. So the mail handler cannot create the right issue type. So it dies.

But the project has the issue type in question. I can create those just fine in Jira, but not via mail. And your answer does not explain why it says there is no summary, which would seem to be the problem for the mail handler here, is it not?

JEMH is telling you that the issue type you have configured it for cannot be created in the project.

You need to check both ends as well - it might be that JEMH is configured to create type X, but you've got type Y in the project with a similar-but-not-the-same name/id.

The summary doesn't seem to have anything to do with it, and you haven't menteioned "no summary" in your question, so I didn't know you wanted me to talk about that (even though it's irrelevant because the problem is with the issue type)

I see that it is telling me that, I just don't get why. :D

We have only one issue type with that name mapped as default for this jemh-profile. Hint 2 names it "FOUND (Projektleitung)". So I'd tend to rule out the suggested X-Y-missmatch.

What am I missing? What would be the other end, since you suggested checking "both ends"?

Not quite. JEMH is telling you that you have configured JEMH to create issues of type Projecktleitung. The error message is telling you that you have not configured the project to include that type. It might be a rename of the issue type or explicit removal from the scheme, I'm not sure. But JEMH can't create issues of that type in the project.

Sorry about "both ends", that was very unclear of me. I'm thinking that one end is the Jira project, and the other is the JEMH configuration. They need to match, or things will fail like they seem to be here.

As you will see in the hereby added image, the issue-type-sheme has the issue type Projektleitung and this sheme is associated with the project for which I wantwo create it. As mentioned before, it works just fine from JIRA-GUI, only the creation via mail is causing problems. :/

EDIT: somehow I can't see the added image, so I suppose you won't either. So just as further description: issue type sheme Kundenprojekte has issue type Projektleitung and is associated with project BF - which is the project JEMH is trying to address, is it not?

The only thing that I can see being a problem here really is that the issue type JEMH has is not valid for the project. A duff summary, project or reporter would give you another error.

Can you check the full list of issue types and check that you definitely have only one that is even vaguely like "Projektleitung"?

Also, could you try editing the JEMH handler - change the issue type to another one in that project, send it an email and then put it back the way you found it?

Really strange... but step by step:

  • only one issue type name Projektleitung [check]
  • issue type available in project [check]

What seemed to have fixed the problem: change default issue type, change again to Projektleitung. For now it is working, but my confidence with JEMH is rather shaken :/

Please always check for updates, when bugs are found, they are fixed as fast as possible and new releases made. There was a bug located yesterday in 1.5.47 which was fixed in 1.5.48, released yesterday.

Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published Tuesday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

452 views 7 16
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot