Skip to content

Automatically update GitHub project column titles with issue/card estimate totals (JIRA style)

License

Notifications You must be signed in to change notification settings

mathiasjakobsen/github-estimates-action

Repository files navigation

GitHub Estimates Action Update project estimates

Used to working with estimation JIRA style, and want to do something like that in GitHub? This is for you.

Demo

This action automatically updates project column titles with issue estimate (i.e. story points, hours, etc.) totals, based on labels attached on issues. Use this action together with the issues::labeled, issues::unlabeled, project_card::moved and project_card::created events, and have your project boards update within a couple of seconds after updating cards/issues/estimates.

Requirements

Project must have one or more labels with a description named "Story Point" and a numeric value, such as 0.5 or 10. Use these labels on issues, to estimate them, and let the workflow provide the overview.

Issue

Inputs

  • token (required) GitHub repository token ($GITHUB_TOKEN)
  • owner (required) GitHub user or organisation.
  • repo (required) GitHub repository name.

Usage

name: Update project estimates

on:
  issues:
    types: [labeled, unlabeled]
  project_card:
    types: [moved, created]

jobs:
  run:
    runs-on: ubuntu-latest
    name: Update project column estimates
    steps:
      - uses: actions/checkout@v1

      - name: Use API to calculate and update total estimates in each column
        id: run
        uses: ./
        with:
          owner: 'mathiasjakobsen'
          repo: 'github-estimates-action'
          token: ${{ secrets.GITHUB_TOKEN }}

License

WTFPL

About

Automatically update GitHub project column titles with issue/card estimate totals (JIRA style)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published