How receive hook from Bitbucket on JIRA and process this hook data?
I can't figure out how to properly create a hook listener from Bitbucket to JIRA.
As I can see:
1) There is a branch in Bitbucket
2) A commit is added to the branch and a Pull Request is created.
3) The reviewer clicks Approve at Pull Request and at this moment a change in the status of the task should occur in JIRA, which in one of the fields contains the name of the branch
I understand how to send a hook from BitBucket, but how to get a hook and process it in JIRA
I do not understand how to implement this, have any ideas?