Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,802
Community Members
 
Community Events
168
Community Groups

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

Edited

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

Apologies, got it working.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Apps for Confluence you won't want to miss: RSVP for September's Appy Hours

Calling all collaborators and Confluence users! Our Appy Hours event on September 29th features 4 presenters demoing functionality to superpower Confluence. Don't miss learning about these apps i...

110 views 0 9
Read article

Atlassian Community Events