I have a bitbucket plugin with a merge hook. When i am checking pull request (check method) i need to pick a file from this repository and receive some information. How can i do that?
The easiest solution i see is just to use bitbucket restapi. But plugin is a part of bitbucket and i don't think it's okay. I think it should be much more easier to do