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

GitHub Action

Auto Ticket link commenter

v2.5

Auto Ticket link commenter

anchor

Auto Ticket link commenter

Comments JIRA ticket link in pull request

Installation

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

              

- name: Auto Ticket link commenter

uses: sbimochan/[email protected]

Learn more about this action in sbimochan/jira-link-commenter

Choose a version

Jira link commenter

This action auto comments in pull request with Jira link to it.

This tool can be used with other project tracking tools like ClickUp as well. Let's explore together!

Settings

  • jira-project-url
  • ticket-regex-title

Required Add your jira link in ticket link format. E.g: https://jira.atlassian.net/browse

Outputs

Creates a comment in your PR:

Jira Link: https://jira.atlassian.net/browse/JPT-1571

Example usage

custom-comment is (optional)

uses: actions/[email protected]
with:
  jira-project-url: 'https://jira.atlassian.net/browse'
  custom-comment: 'Thank you for your contribution! :confetti_ball:'

Full example

on: pull_request

jobs:
  example_comment_pr:
    runs-on: ubuntu-latest
    name: Auto jira link commenter
    steps:
      - name: Checkout
        uses: actions/checkout@v1

      - name: Comment PR
        uses: sbimochan/[email protected]

        with:
          jira-project-url: https://jira.atlassian.net/browse
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          custom-comment: 'Thank you for your contribution! :confetti_ball:'

Demo:

Screen Shot 2021-12-24 at 7 21 10 PM

Recommendations:

Smart Commit

This makes your commits and PR summary consistent.

Check repo.