I wanted to add custom post function to workflow, so I followed documentation - created controller to handle POST request and included jiraWorkflowPostFunctions in modules in atlassian-connect.json file.
When I was trying to choose this post function in workflow transition, it was on the list, but after clicking 'Add' it redirected me to internal server error page.
Any suggestions?