I am using a new workflow that has been in use for several months now. The issue I am encountering is that I did not add a post function to update the resolution to Done once the issue was transitioned to Done. I currently have hundreds of issues that are done with an Unresolved (empty) resolution. I was trying to do a Bulk change operation to update the resolution field for these issues but see that the operation does not support this. I checked using my API script to update the issues but I am getting this error:
Error Code 400::{"errorMessages":[],"errors":{"resolution":"Field 'resolution' cannot be set. It is not on the appropriate screen, or unknown."}}
This is the payload I am putting to the endpoint:
{"fields":{"resolution":{"value":"Done"}}}
Thanks in advance
The API respects the settings you have for a project and issue type.
As you have got your edit screen correctly configured (meaning it does not contain the resolution), the API is doing exactly what it should do - not changing a field that is not editable.
First, fix the workflow - add that "set resolution" post-function, or add the resolution to the "close" transition screens.
Second, fix the broken issues:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.