JIRA 7 has landed! Are you an existing JIRA user with questions about upgrading? Visit the Migration Hub for information about upgrading to new JIRA applications

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
h4. Symptoms

When [creating a draft workflow|http://confluence.atlassian.com/display/JIRA/Configuring+Workflow#ConfiguringWorkflow-Editinganactiveworkflow], a stack trace containing a message like the following is returned to the web browser:
{noformat}java.lang.IllegalStateException: There are more than one draft workflows associated with the workflow named 'Workflow Name'{noformat}


h4. Cause

Currently, it is believed that this can occur in extremely rare circumstances when the creation of a draft workflow is simultaneously initiated by the same or different administrative accounts. This has not been reproduced


h4. Resolution

# Browse the back-end database of JIRA.
# In the 'jiradraftworkflows' table, look for two entries which have the same value in the 'parentname' field.
# Delete one of them.
# Restart JIRA.
# Visit 'Administration' > 'Workflows' again  and note that it works without error.

{htmlcomment}
Severity: Low
Regular Expression: java.lang.IllegalStateException\: There are more than one draft workflows associated with the workflow named
Article ID: JIRAKB{pageid}
https://support.atlassian.com/browse/JSP-64611

{htmlcomment}