Salesforce shows error related to unlinking an Jira issue
Purpose
Due to certain configurations or validations on the workflow some modifications to the Jira issues are not performed by the connector.
When unlinking the issue from the Salesforce case, errors are triggered as shown in the images below.
The next-gen component, triggers the following error when unlinking:
Answer
There are two root causes for this issue:
Missing Integration user
The integration user is missing the Edit issue permission in Jira.
Jira Server
Select a project > Project Settings > Permission > Permission Helper, select the affected issue that is unlinked and check if the user has the Edit issue permission. If none, grant the user the permission.
Jira Cloud
Select a project > Project Settings > Permission > find for "Edit Issues" permission and search for the project role "atlassian-addons-projects-access" listed there.
If none, on the top, click Actions > Edit Permission > Update the "Edit Issues" permission with the project role.
Issue status is set to be not editable in workflow (Jira Server/DC only)
The status of the issue has the property "jira.issue.editable = false"
Read this documentation to understand how to access the workflow property.
Delete the property key "jira.issue.editable = false" if it exists.