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: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Andy Heinzer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
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