-
Bug
-
Resolution: Unresolved
-
Medium
-
24
-
Severity 3 - Minor
-
2
-
Issue Summary
When jira.issue.editable is set to false on the workflow status, we will not able to delete the comment. However, the "Delete" option is shown on the new issue view and a misleading error message is shown when we attempt to delete the comment.
Environment
- Jira Cloud new issue view
- Workflow status: jira.issue.editable=false
Steps to Reproduce
- Edit the workflow and add a workflow property to "Done" status
- Property Key: jira.issue.editable
- Property Value: false
- Publish the workflow
- Attempt to delete a comment with "Done" status
Expected Results
- "Delete" option is not showing. Example on old issue view:
Actual Results
The below exception is thrown in the HAR file:
https://example.atlassian.net/rest/api/2/issue/PROJECT-11/comment/10000 400 Bad Request {"errorMessages":["You can not delete the comment as the issue is in a non-editable workflow state." ],"errors":{}}
Workaround
Temporarily remove "jira.issue.editable" property from the Status to enable comment deletion feature