Create issue for TODO comments
Note: this action requires Jira Login Action
Create Jira issue from TODO comments in pushed code. Example workflow:
- name: Create TODO
uses: MickCoelho/jira-todo-action@main
with:
project: MC
issuetype: Task
description: Created automatically via GitHub Actions
labels: from-todo,needs-triage
customfield_10184: "Brand Studio"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # https://help.github.com/en/articles/virtual-environments-for-github-actions#github_token-secret
GITHUB_TOKEN
- GitHub secret token is used to retrieve diffs
project
- Key of the projectissuetype
- Type of the issue to be created. Example: 'Task'description
- Issue descriptioncustomfield_10184
- Fio squadlabels
- Comma separated array
issues
: Well-formed JSON array containing keys of all newly created issues