I have a behavior on field X which links to a custom rest endpoint. I am able to set the value of field X in the return value of the rest endpoint. How can I also set field Y in the same rest endpoint execution?
Essentially, when field X is changed, it should call a rest endpoint and that endpoint should edit both field X and field Y.
For field Y, I am able to find the issue and custom field that I want to change, but am unable to make updates to that field. I am making sure to use issueManager to update the issue once it's been changed, but still no luck. The same code to update a custom field works from within a listener, but doesn't seem to work within a rest endpoint.