Skip to content
external-link

GitHub Action

Azure DevOps Work Item linker

v0.9.2 Latest version

Azure DevOps Work Item linker

external-link

Azure DevOps Work Item linker

This Github Action creates a Pull Request comment with a link to an Azure DevOps work item

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Azure DevOps Work Item linker

uses: solidify/[email protected]

Learn more about this action in solidify/github-action-azdo-link

Choose a version

Add Azure DevOps Work Item link to Pull Request

This GitHub action will create a link to a work item in Azure DevOps in a new Pull Request comment if you added a reference, ex. AB#123, in your Pull Request's title or description, where the number is a work item id from Azure DevOps.

Usage

Inputs

  • organization: Azure DevOps Organization
  • projectName: Azure DevOps Team Project
  • GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

Example usage

Add a trigger on Pull Request

on:
  pull_request:
    branches: [ master ]

Add a step

- name: Get azdo wi link step
        uses: solidify/github-action-azdo-link@master
        with:
          organization: 'Org Name'
          projectName: 'Team Project Name'
          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

License

The scripts and documentation in this project are released under the MIT License