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.
Hello @Ania ,
So the create URL dialogue is a requirement of the function and should contain the full context:
I recommend checking out the layout of the full hosed on a bitbucket repo at the link above the partial example in the documentation you linked:
For a full add-on example, see the workflow post function example add-on.
The full formatting can be seen under atlassian-connect.json
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events