Bitbucket: spec for closed and foreigned pull request