Skip to content

pj8/github-backlog-sync

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub-Backlog Sync Action

Description

  • This GitHub Action synchronizes GitHub pull requests with Backlog issues.
  • It scans the body of a pull request for Backlog issue URLs and automatically adds the pull request URL to a designated custom field in the corresponding Backlog issue.
  • This action is particularly useful for teams using Backlog for project management and GitHub for source control, helping to streamline the process of tracking pull requests associated with specific Backlog issues.

Inputs

  • BACKLOG_API_KEY: Your Backlog API key. This is required.
  • BACKLOG_SPACE_NAME: Your Backlog space name. This is required.
  • BACKLOG_SPACE_DOMAIN: Your Backlog space domain. This is required.
  • BACKLOG_PROJECT_KEY: Your Backlog project key. This is required.
  • BACKLOG_CUSTOM_FIELD_ID: The ID of the Backlog custom field where the GitHub pull request URLs will be added. This is required.

Example

name: GitHub-Backlog Sync

on:
  pull_request:
    types: [opened, edited]

jobs:
  sync:
    runs-on: ubuntu-latest

    steps:
    - name: GitHub-Backlog Sync Action
      uses: pj8/github-backlog-sync@v1.2.11
      timeout-minutes: 1
      with:
        BACKLOG_API_KEY: ${{ secrets.BACKLOG_API_KEY }}
        BACKLOG_SPACE_NAME: "your_space_name"
        BACKLOG_SPACE_DOMAIN: "backlog.jp"
        BACKLOG_PROJECT_KEY: "your_project_key"
        BACKLOG_CUSTOM_FIELD_ID: your_custom_field_id
        PR_BODY: ${{ github.event.pull_request.body }}