Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. GitHub sends a notification to OpenProject but OpenProject does not update projects

GitHub sends a notification to OpenProject but OpenProject does not update projects

Added by Tay Ozd over 1 year ago

Hello everyone,

I am following the instructions at the following page to integrate GitHub with OpenProject. 
https://www.openproject.org/blog/how-to-openproject-github-integration/

I also crosschecked everything with documentation at the following address:
https://www.openproject.org/docs/system-admin-guide/integrations/github-integration/#configuration

The GitHub module is added to the project and it is visible. 

When I go to "Project -> Work packages -> <Any ID>" I can see the GitHub tab on the page. I created a branch using the "Git snippets" code segment:
git checkout -b 'task/74-another-test' && git commit --allow-empty -m '[#74] another test

https://projects.XXXXX.com/work_packages/74
'

I made couple changes, I pushed those changes to GitHub, then I created a pull request on GitHub. When I go to 'Settings -> Webhooks -> <WebHook Name> -> Recent Deliveries', I see that the webhook is delivered to OpenProject using the address 'https://projects.XXXXX.com/webhooks/github?key=YYYYYY'. GitHub recieived success, 200, for the webhook. On the other hand, nothing happens on open project. There were no updates to the work package. 

I tried changing the permissions of the 'Github User' to administrator. This did not help as well.

Do you guys have any ideas about what else I can try?

Thanks a lot.


Replies (1)

RE: GitHub sends a notification to OpenProject but OpenProject does not update projects - Added by Никита Василенко about 1 year ago

Hello, 

Have you been able to find a solution? I have a similar problem, but I get status code 200 on github sends "ping" and status code 404 on "push". I used the same setup guides as you. I'm using OpenProject version 13.

Tay Ozd wrote:

Hello everyone,

I am following the instructions at the following page to integrate GitHub with OpenProject. 
https://www.openproject.org/blog/how-to-openproject-github-integration/

I also crosschecked everything with documentation at the following address:
https://www.openproject.org/docs/system-admin-guide/integrations/github-integration/#configuration

The GitHub module is added to the project and it is visible.

When I go to "Project -> Work packages -> <Any ID>" I can see the GitHub tab on the page. I created a branch using the "Git snippets" code segment:
git checkout -b 'task/74-another-test' && git commit --allow-empty -m '[#74] another test

https://projects.XXXXX.com/work_packages/74
'

I made couple changes, I pushed those changes to GitHub, then I created a pull request on GitHub. When I go to 'Settings -> Webhooks -> <WebHook Name> -> Recent Deliveries', I see that the webhook is delivered to OpenProject using the address 'https://projects.XXXXX.com/webhooks/github?key=YYYYYY'. GitHub recieived success, 200, for the webhook. On the other hand, nothing happens on open project. There were no updates to the work package.

I tried changing the permissions of the 'Github User' to administrator. This did not help as well.

Do you guys have any ideas about what else I can try?

Thanks a lot.

  • (1 - 1/1)
Loading...