500 internal server error during work item transition in Jira Cloud
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary
Trying to move a work item to a particular status results in an internal server error in Jira Cloud. The only error message is:
"500 - Internal server error."
Invalid status transition in workflow
This error occurs when the status into which the work item is being transitioned is invalid. Removing a status from a simplified workflow can cause this invalid state.
To verify whether the status is invalid:
Edit the workflow in Text mode
Find the transition that causes the error in the list
Verify if the Status information is displayed correctly or if you see a red question mark (?) instead of the status name.
If a red question mark is displayed in place of the status name, then the transition is missing the status information, and is in an invalid state. See the screenshot for an example:

Fix the invalid workflow transition
You have two options to repair the workflow:
Repair the invalid transition using Text mode
This allows you to use the pre-existing status without any further problems
Delete the invalid transition and remove the faulty status
This removes the invalid status completely to avoid the problem in future
Repair the invalid transition
Copy the affected workflow
This is required as you can't delete statuses in active workflows
Please refer to How to copy an existing workflow for instructions
Edit the newly copied workflow in Text mode
Select Edit for the faulty workflow step
Use the Linked status dropdown to select the appropriate status
Select Update
Publish the draft workflow
Associate your new workflow with the project
Please refer to Configure workflow schemes for instructions
Delete the invalid transition
Copy the affected workflow
This is required as you can't delete statuses in active workflows
Please refer to How to copy an existing workflow for instructions
Edit the newly copied workflow in Diagram mode
Select the Transition arrow
Select Delete transition
This leaves the workflow step "orphaned" with no transitions leading to or from it
Switch to Text mode
Select Delete step for the "orphaned" step
Publish your draft workflow
Associate the new workflow with the project
Please refer to Configure workflow schemes for the steps
Note: You will be unable to delete the status directly in the workflow editor. When you attempt to, you'll receive the below error message:
"The Jira server was contacted but has returned an error response. We are unsure of the result of this operation."
Was this helpful?