Skip to content

Jira Add Comment

Actions
Add a comment to an issue
v3
Latest
Verified creator
Star (34)

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

⚠️ This repository isn’t maintained anymore.

Jira Comment

Add a comment to an issue

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

Usage

Note: this action requires Jira Login Action

To add comment to an issue you need to specify an issue key and a comment as action inputs, like:

- name: Comment on issue
  uses: atlassian/gajira-comment@v3
  with:
  issue: INC-2
  comment: ${{ github.event.pusher.name }} pushed to repository: ${{ github.event.repository.full_name }}

You can interpolate fields from GitHub event which triggered the workflow into a comment body. For example, if you set your workflow to be triggered on the push event, you can specify the pusher name in comment body by including ${{ github.event.pusher }} field from the push event:

"${{ github.event.pusher.name }} pushed to repository: ${{ github.event.repository.full_name }}"

Which will result in comment:

Codertocat pushed to repository: Codertocat/Hello-World

Action Spec

Environment variables

  • None

Inputs

  • issue - An issue key to add a comment for
  • comment - Comment

Outputs

  • None

Reads fields from config file at $HOME/jira/config.yml

  • issue

Writes fields to config file at $HOME/jira/config.yml

  • None

Jira Add Comment is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Add a comment to an issue
v3
Latest

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

Jira Add Comment is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.