JIRA Project configurator issue - No event type with id 10002

An error occurred:

Error: No event type with id 10002

At Most frequent errors found in export you can find advice to fix this problem

I traced this to this workflow, but unsure what I am looking for here 

Location: 

[Project GCFT] [Workflow scheme GED Development Workflow Scheme + XRay] [Workflow GED Development Workflow Reworked] [Translating event type Id 10002]


Any pointers

1 answer

1 accepted

This might have been caused because that workflow was configured with a reference to that event type id (for example, with a post function that fires that event) and later the event type was removed.

Unless the workflow is rather small (few transitions) the fastest solution would be:

a) Export the workflow descriptor as XML, by usingt he JIRA builtin option.

b) Search for the string "10002" in the XML descriptor. Of all occurrences, find those that are related to an event type, like:

<arg name="eventTypeId">10002</arg>

or:

<function type="class">
    <arg name="class.name">com.onresolve.jira.groovy.GroovyFunctionPlugin</arg>
    <arg name="FIELD_CONDITION">true</arg>
    <arg name="scriptFileName">com.onresolve.jira.groovy.canned.workflow.postfunctions.FireEventWhen</arg>
    <arg name="FIELD_EVENT_ID">10002</arg>
</function>

c) Examine text surrounding occurrences found in Step 2 to find out the exact location of the problem (i.e which function in which transition has the obsolete reference)

d) Go to JIRA and fix the workflow.

Thanks. Found the issue. There was actually 3 instances of this (each reported after fixing the previous). In all 3 cases the step "Fire a event that can be processed by the listeners." was empty. It hit update and it added a Generic Event. Thanks again

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

176 views 0 4
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