JIRA connector unable to change status of issue

70 views Asked by At

I'm trying to use the JIRA connector to change the status of JIRA issues. After entering the necessary values (issueId, statusName and transitions) I am getting the following error when trying to generate a sample: TypeError: Cannot read property 'name' of undefined.

Edit Screenshot: enter image description here

1

There are 1 answers

0
cipak On BEST ANSWER

The Update Status action needs the whole transitions array. It searches this array for the status name you provide (which can be hardcoded, eg: "Closed"). To make it work, just replace [{"id": transitions[2].id}] with transitions :)