Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
atlassian

GitHub Action

Jira issue from TODO

v2.0.1

Jira issue from TODO

atlassian

Jira issue from TODO

Create Jira issue for TODO comments

Installation

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

              

- name: Jira issue from TODO

uses: atlassian/[email protected]

Learn more about this action in atlassian/gajira-todo

Choose a version

Jira TODO

Create issue for TODO comments

For examples on how to use this, check out the gajira-demo repository

Only supports Jira Cloud. Does not support Jira Server (hosted)

Usage

Note: this action requires Jira Login Action

Create Jira issue from TODO comments in pushed code.

Single-line comments in these formats:

// TODO: refactor this callback mess
# TODO: rewrite api client

Example workflow:

- name: Create TODO
  uses: ./
  with:
    project: MC
    issuetype: Task
    description: Created automatically via GitHub Actions
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # https://help.github.com/en/articles/virtual-environments-for-github-actions#github_token-secret

Action Spec:

Environment variables

  • GITHUB_TOKEN - GitHub secret token is used to retrieve diffs

Inputs

  • project - Key of the project
  • issuetype - Type of the issue to be created. Example: 'Task'
  • description - Issue description

Outputs

  • issues: Well-formed JSON array containing keys of all newly created issues