We are having a Jira plugin in development. Now I meet an error of resolution when the plugin tries to transition a status.
Firstly, I both set the configurations below in a Jira project workflow:
 Closed properties ‘jira.field.resolution.include’ (no matter what values)
 Add ‘Resolve Issue Screen’ to Closed
Then when plugin code tries to use Java jira-api(7.13.8) IssueService validateTransition to transition some statuses to the Closed status, an error returns in the validation result:
Error key: resolution
Error value: The selected resolution cannot be chosen during this action.
PS: The resolution was well predefined.
Now it can not transition an issue with an invalid validation result.
But when I remove , validation will pass, the transition will be successful.
Another information, when both  were effective, this could go well and transition successfully through the UI browser!
That looks like a bug with the Jira api as the operation is successful through the UI and should be supported by the api as well.