Fix 'Internal Server Error' on Transition Screen in Jira Cloud
Platform Notice: Cloud Only - This article only applies to Atlassian apps on the cloud platform.
Summary
Sometimes, when you use the workflow post function Clear Field Value for the Assignee field, and also transition the issue that uses a work item screen, the error message "Internal server error" is displayed when confirming the entered screen data.
For example:

Solution
In order to resolve this issue, access the affected issue type workflow:
Select ⚙ > Work Items
Select Workflows
Select the workflow transition that's facing the "Internal server error" message and click Edit
In the Workflow Editor, select the transition
Select 'Post Functions' in the properties panel
Remove post function Clear Field Value for the Assignee field
Add the Assign the issue to the lead developer post function
Publish the workflow
Edit the workflow again
Delete the Assign the issue to the lead developer post function
Add the post function Clear Field Value for the Assignee field
Publish the workflow
This will re-sync the post-function data, allowing the successful transition of the issue to the target status.
Why can this happen
This issue occurs because the database mistakenly points the assignee field to a user who is no longer part of your site. While in the UI, there is no such configuration inside the post function; however, it is still recorded in the database. This means the configuration did exist at one point but wasn't properly deleted from the database when removed from the UI.
Relevant links
Was this helpful?