An open API service indexing awesome lists of open source software.

https://github.com/colindembovsky/az-create-work-item

Action to create a work item in Azure Boards
https://github.com/colindembovsky/az-create-work-item

azure-boards github-actions

Last synced: about 1 month ago
JSON representation

Action to create a work item in Azure Boards

Awesome Lists containing this project

README

        

# az-create-work-item


Build and Test

# Usage

See [action.yml](action.yml)

**Create a Work Item in Azure DevOps:**
```yaml
steps:
- uses: colindembovsky/[email protected]
with:
token: ${{ secrets.AZDO_TOKEN }}
orgName: myorg
project: myproject
type: User Story
title: Work item from run ${{ github.run_number }}
description: Created from Actions!
# optional inputs
#iterationPath: 'myproject\Iteration 1'
#areaPath: 'myproject\Area51'
```

### Token
This Action uses the Azure DevOps REST API to create the work item. Authentication is performed via Personal Access Token (PAT).

We recommend storing the PAT as a secret in the repo.

> Note: The only permission that the PAT requires is `Work Item (Read and Write)`. In general, generate least-privelege tokens!

# License

The scripts and documentation in this project are released under the [MIT License](LICENSE)