Help with Backlog Webhook Integration for AWS CI/CD Pipeline (Staging and Production)

Hi Nulab Community,

I’m working on integrating Backlog GIT webhooks with an AWS CI/CD pipeline (using API Gateway, Lambda, and AWS CodePipeline) to automate deployments for a repository with two branches: staging and production. My goal is to trigger separate CodePipeline executions based on push or merge events to these branches. However, I’m facing some challenges and would appreciate your help with the following:

  1. Webhook Configuration Location
    In Backlog’s Project Settings, I see two places to configure webhooks: Git and Integrations. Could someone clarify the difference between these two options? For triggering an AWS CI/CD pipeline on Git push events, which section should I use to set up the webhook URL pointing to my API Gateway endpoint?
  2. Multiple Webhooks for a Single Repository
    Is it possible to configure multiple webhooks for a single repository to handle different branches (staging and production) and trigger separate AWS CodePipeline instances? For example, I want a push to the staging branch to trigger a staging pipeline and a push to the production branch to trigger a production pipeline. If this is supported, what are the best practices for setting up and managing multiple webhooks in Backlog?

My setup involves an AWS Lambda function that processes the webhook payload to identify the branch and starts the appropriate CodePipeline. Any advice, examples, or documentation on how to configure Backlog webhooks for this use case would be greatly appreciated!

Thank you

Hi linhnn-Crd

Thank you for posting on Nulab Community.

We are consulting your inquiry further with our technical team. I will keep you informed of any updates as soon as I hear back from the team.
Please note, as our teams are based in different time zones it may take around 1-2 business days.

In the meantime, please let me know if you have any other questions, we’re always happy to assist.

Hi linhnn-Crd

I’m just following up on the Backlog Webhooks integration inquiry, thank you for your patience!

Our technical team has advised that currently only one Git Webhook can be set up. Please see the link with instructions on how to add and manage Webhooks in Backlog below.
https://support.nulab.com/hc/en-us/articles/8840133998489-How-to-add-and-manage-webhooks-in-Backlog

The team has also advised to check the blog post that provides a sample configuration for sorting by Git branch below. Please note, the website is in Japanese (a browser translation extension can be used to check the content).

Please let me know if you have any further questions.