You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
How do i get the list of branches related to a issue using JIRA REST API. i tried using the rest/api/2/issue/. but it doesn't return any information related to the branches.
Any Help would be appreciated.
I've been having a look and wasn't able to find an official REST api but when I looked at how Jira itself was getting the data (pull requests but also branches) I've found the following call:
Unfortunately the request requires the issue ID and not the issue Key. So you'll need to retrieve the issue ID using the Jira Issue REST api first (/rest/api/latest/issue/<ISSUEKEY>) first.
Please do keep in mind this is not an official API which could be changed between Jira versions without any notification.
it works for me, but there is an issue. The JSON returns all the commits but only the part of the files committed. if i commit more than 5 files on a single commit, then only the first 5 files are listed in the JSON. any ways to get the full list of files?