Attempting to edit a GitHub->Jira action to work with our Jira setup. We require a comment and a resolution when attempting to force close an issue. So here's what I've attempted
jira.transition_issue(issue, '91', fields={ 'resolution':{'name': 'Done'}})since the comment is not there, the error will be that a comment is required:
response text = {"errorMessages":["A comment is required to edit this item!"],"errors":{}}So we add the comment:
jira.transition_issue(issue, '91', fields={ 'resolution':{'name': 'Done'}, 'comment':{'body': 'Transition comment'}})but we get this error:
response text = {"errorMessages":[],"errors":{"comment":"Field does not support update 'comment'"}}