Pull Github branches linked to a JIRA issue

karthikeya.ns
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!
May 29, 2020

I have a requirement to pull all the github branches linked to a particular JIRA issue using API. I am currently working with jira-python sdk.

How do I go about this?

1 answer

1 accepted

0 votes
Answer accepted
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 10, 2020

Hi,

I understand that you're using Jira Cloud and you want to be able to see all the repo branches in Github that are linked to a particular Jira issue.

This question has actually been asked a few times before in Community, I think the best example with a great answer is over in https://community.atlassian.com/t5/Jira-questions/API-get-branches-related-to-issue/qaq-p/1214220

Dario explains that the REST API endpoints there are technically not public and subject to change at any time.  That said he does explain how this could be made to work for any REST client such as the jira-python sdk.

I hope this helps.

Cheers,

Andy

Suggest an answer

Log in or Sign up to answer