I added a status to a draft workflow. Before publishing the workflow, that status was deleted. Now the status cannot be removed from the workflow.
Error message when trying to delete: The Jira server was contacted but has returned an error response. We are unsure of the result of this operation.
First few lines of 375 line long stacktrace in error response:
java.lang.NullPointerException
at com.atlassian.jira.plugins.workflowdesigner.workflow.WorkflowStatuses.verifyStatusCanBeRemoved(WorkflowStatuses.java:269)
at com.atlassian.jira.plugins.workflowdesigner.workflow.WorkflowStatuses.removeStatus(WorkflowStatuses.java:160)
at com.atlassian.jira.plugins.workflowdesigner.rest.WorkflowStatusesResource.removeStatus(WorkflowStatusesResource.java:88)
...
It feels like a bug, but is there a workaround that can be done to remove the deleted status?
Turns out this is a bug in the diagram editor and in the delete status logic. Steps to reproduce:
The work around:
When a workflow is published you can not delete anything from it.
Best,
Fadoua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's how you would delete a published status, but this was a draft and the status hadn't been published with the workflow.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you try to click on the status and delete it?
Is this workflow published?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, to both questions. I did figure out a work around yesterday, but didn't get around to posting it on here. I'm in the middle of writing it and will have it posted shortly.
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.