Hello, we were having an issue with the satisfaction survey not being sent by mail.
After looking into it, we noticed that our issues with the status category "done" were not interpreted as resolved. This was confirmed by the following JQL Query returning almost all issues we ever created:
project="IT Service Desk" AND resolution is EMPTY
That would explain the mail not being sent. Our issue types and workflows are 100% custom so the Jira standard types, workflows and states do not apply.
Now we had two issues:
- We do not use resolution in our internal processes but Jira Service Management needs this field for the satisfaction survey, so we had to set it up automatically
- For past issues we should clean up and set up resolution to some value for the sake of Jira Service Management interpreting them correctly as closed when we make a query.
Regarding issue 1:
The resolution field was missing in our screens so we added it since it is needed by Jira Service Management. Now we have a button on the issue screen to set the resolution manually. Also, we set up a post function on the transition that leads to the last status of our Workflow to set the resolution as something fixed as described in this Best Practices article. This takes care of the issue for the future.
Regarding issue 2:
We thought of solving the issue by setting the resolution field to something fixed automatically with a loop transition and a bulk modification as described in this Best Practices article under the section "The following instructions are meant to correct previous issues that have the resolution field incorrectly set", however setting the resolution field to something fixed instead of removing the value.
However, this seemed to have had no effect at all so repeated the steps twice, deleting the value of the resolution field in the first iteration and then setting the value to something fixed in the second iteration, just in case already existing values would create conflicts.
This also seemed to have had no effect at all so we set an automation rule to set the resolution field of all issues with a status category "done" to something. Now the automation rule fails with an explanation: It appears that the resolution field does not exist for many of the issues:

This translates to "unknown fields during processing. Those are possibly not available for the project/the issue type. Please check your configuration for custom fields. ignored fields:
Resolution (resolution)"
Any ideas how we could solve this?