Trigger GitGub action repository_dispatch event using JIRA automation rule webhook custom data

Ashish George August 20, 2022

Hello Everyone,

I am trying to create an JIRA Automation rule on issue-creation with certain conditions based on components and labels to fire a GitHub action using webhooks to trigger a repository_dispatch event.

I am trying to pass the issue.key and issue.feilds.description to the GitHub Action in the custom data section shown below.

I am trying to use these variables inside the Custom data payload

"event_type": "test",
"client_payload": {
"featureBranch": "{{issue.key}}",
"featureDescription": "{{issue.fields.description}}"

I can see the GitHub action being triggered but its not passing the above mentioned variables to the action.

1 answer

1 accepted

0 votes
Answer accepted
Ashish George August 20, 2022

Apologies, got it working.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events