Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Jira System administration -->Issues --> Workflows, when I click on workflows and when the page loads, all of the workflows are missing. the projects are working correctly, but I cannot see or edit them.
the error received is “The JIRA server was contacted but has returned an error response. We are unsure of the result of this operation.”
This could happen if a "broken" workflow has somehow ended up in the database. Check the atlassian-jira.log file - there should be an error with more information.
Hi Petar,
Thanks for your comment.
java.lang.IllegalStateException: There are more than one workflows associated with 'Dply V1' in the database!
I Tried these steps in my jiradatabase
Step 1: Searched all workflow in JIRA by executing this query
SELECT * FROM jiraschema.jiraworkflows;
and found duplicate workflow.
Step2: Deleted duplicate workflow by getting id
DELETE from jiradraftworkflows where id = 13125;
It worked well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great! Can you please mark my answer as accepted?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Teju,
I'm having this same problem. How can I know what workflow needs to be deleted?
Please help. Thank you
Regards,
Edgar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Edgar,
First you're gonna have to enter into the database, I mean in which database JIRA was hosted.
Second you have to search duplicate workflow by exicuting this query [ SELECT * FROM jiraschema.jiraworkflows; ] on top of the table you will find the IDs i.e workflow ids.
Third delete the workflow using query [ DELETE from jiradraftworkflows where id = 12345; ]
12345 is your workflow ID.
Prior to that stop JIRA services.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Always back up your data before performing any modifications to the database. If possible, test any insert, update, or delete SQL commands on a staging server first.
Run the following SQL query on the database (to identify the drafts with more than one entry):
SELECT count(*), parentname FROM jiradraftworkflows group by parentname having count(*) > 1;
For the workflows(not draft), run the following query :
SELECT count(*), workflowname FROM jiraworkflows group by workflowname having count(*) > 1;
Delete one of the Id which have the same parentname.
SELECT id, parentname from jiradraftworkflows;
DELETE from jiradraftworkflows where id = <chosen_id_with_duplicated_parentname>;
For the workflows(not draft), run the following query :
SELECT id,workflowname FROM jiraworkflows;
DELETE from jiraworkflows where id = <chosen_id_with_duplicated_workflowname>;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check your version/browser compatability. For example, IE9 is not compatable with Cloud.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.