The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I send the Issue ID from a BitBucket Webhook

Shane Healy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 4, 2020

Hi all,

According to the documentation there are some common entities in the event payload of BitBucket Webhooks, 

https://confluence.atlassian.com/bitbucket/event-payloads-740262817.html#EventPayloads-common_entities

 

I have Jira integration setup so branches are created with the issue id as a prefix (e.g. feature/ABC-123_story-to-add-feature) so that activity in bitbucket shows in Jira such as branches, PR status etc

 

I am triggering webhooks in the project for the events Pull Request > Created and Pull Request > Merged, but I don't see the Issue entity in the body so can't access the issue id in Jira in order to carry out an action. 

 

I've tried to put the id in the url e.g https://.../hooks/...939?issue={{Issue.id}} but that doesn't appear either

 

Appreciate any help!

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
choarau-syscea
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 25, 2020

Hi Shane,

 

Did you find a way to do this please?

Thanks

TAGS
AUG Leaders

Atlassian Community Events