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
- Host: GitHub
- URL: https://github.com/colindembovsky/az-create-work-item
- Owner: colindembovsky
- License: mit
- Created: 2021-09-21T14:20:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-23T23:11:15.000Z (over 2 years ago)
- Last Synced: 2025-01-28T12:16:10.937Z (3 months ago)
- Topics: azure-boards, github-actions
- Language: TypeScript
- Homepage:
- Size: 1.38 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# az-create-work-item
# 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)