Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closing pull request using Github API return FileNotFoundException #34

Closed
mdelapenya opened this issue Apr 23, 2013 · 2 comments
Closed

Comments

@mdelapenya
Copy link

Using ghprb plugin, we have discovered that closing pull request is not working:

SEVERE: Couldn't close the pullrequest #10582: '
java.io.FileNotFoundException: https://api.github.com/repos/USER/REPO/issues/10582

As Github API says, pull requests must be accesed in this way:

GET /repos/:owner/:repo/pulls/:number

Using pulls intead of issues.

@kohsuke
Copy link
Collaborator

kohsuke commented Apr 23, 2013

I think this change would break the GHIssue class.

I claim my fix in beec605 does this properly. Please verify.

@mdelapenya
Copy link
Author

Thanks for your quick answer!

I hope this fix will be released soon :)

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants