Skip to content

joomcode/jira-webhook-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

4u/jira-webhook-action@v1

Small action to call jira webhook by github trigger.

How to use

  1. Issue Jira Permanent Token and set it to JIRA_TOKEN secret.
  2. Set JIRA_WEBHOOK secret, e.g. https://automation.atlassian.com/pro/hooks/abcde
  3. Create your workflow and use 4u/jira-webhook-action@v1 action, e.g. .github/workflows/review-requested.yml:
name: Review Requested

on:
  pull_request:
    types: [review_requested]
jobs:
  review-requested:
    runs-on: ubuntu-latest

    steps:
      - name: 'set code review state'
        uses: 4u/jira-webhook-action@v1
        with:
          github_token: ${{ github.token }}
          data: '{"action": "review_requested"}'
          webhooks: |
            ${{ secrets.JIRA_WEBHOOK_1 }}
            ${{ secrets.JIRA_WEBHOOK_2 }}
            ${{ secrets.JIRA_WEBHOOK_3 }}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •