github-actions/boards
Aurélien GALTIER 77ef81c6f0 Update entrypoint.sh (#58) 2019-05-15 13:48:08 +05:30
..
Dockerfile vsts-cli replaced with azure-devops extension (#51) 2019-02-26 09:57:21 +05:30
README.md Azure DevOps configuration updates (#49) 2019-02-25 18:31:33 +05:30
entrypoint.sh Update entrypoint.sh (#58) 2019-05-15 13:48:08 +05:30

README.md

GitHub Action for creating work items in Azure Boards

An action to create a work item in Azure Boards that corresponds to a GitHub issue. Subsequent comments in the issue will be created as discussion entries in the Azure Boards work item. When the GitHub issue is closed, the corresponding work item will also be moved to the "Done" state.

Usage

action "Create Azure Boards Work Item" {
  uses = "azure/github-actions/boards@master"
  env = {
		AZURE_DEVOPS_URL = "<Azure DevOps URL>"
		AZURE_DEVOPS_PROJECT = "<Azure DevOps Project Name>"
		AZURE_BOARDS_TYPE= "<Azure Boards Work Item Type>"
		AZURE_BOARDS_CLOSED_STATE= "<Azure Boards Work Item State>"
		AZURE_BOARDS_REOPENED_STATE= "<Azure Boards Work Item State>"
	}
  secrets = ["AZURE_DEVOPS_TOKEN"]
}

Secrets

Environment variables

  • AZURE_DEVOPS_URLMandatory; the fully-qualified URL to the Azure DevOps organization (eg, https://dev.azure.com/organization or https://server.example.com:8080/tfs/DefaultCollection)
  • AZURE_DEVOPS_PROJECTMandatory; the name of the Azure DevOps project that contains the boards
  • AZURE_BOARDS_TYPEOptional; the type of work item to create. Defaults to "Feature" if unset. See process doeumentation for more details on work item types.
  • AZURE_BOARDS_CLOSED_STATE - Optional; the state to move the work item to when the GitHub issue is closed. Defaults to "Closed" if unset.
  • AZURE_BOARDS_REOPENED_STATE - Optional; the state to move the work item to when the GitHub issue is reopened. Defaults to "New" if unset.