Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Retrieve list of branches for repository from FishEye Rest API

Ash Noble
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 16, 2014

I'm trying to write a tool that checks reports out on the code review completeness of each branch in a Git repository. I can use the various APIs to get the number of reviewed and unreviewed changesets for a branch, but what I haven't been able to find is an API that returns me a list of all the branches in a repository. Can anyone help?

1 answer

1 accepted

0 votes
Answer accepted
Maciej Swinarski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 16, 2014

Hi,

You could use the internal REST API used by FishEye UI. Note this is an internal API so there is no guarantee it will not change in the future without warning.

[FISHEYE_URL]/changelog-ajax/[REPO_NAME]?command=branches&limit=100&q=

Mac

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events