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

How can i get commits info on a issue via API REST? (CLOUD version)

Hugo Mora September 27, 2017

Hi everyone!

I am trying to develop a cloud app that access "Development" area (commits, branches, etc...)

I've locate this URL in order to retrieve repos: 
https://picaso.atlassian.net/rest/bitbucket/latest/repositories (OK)

But I am not be able to access so far: 
https://picaso.atlassian.net/rest/bitbucket/latest/repositories/humoib/test/commits (FAIL)

I couldn't read any documentation about this REST API... Could you please help me?

Thanks a lot,

--Hugo

1 answer

0 votes
somethingblue
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 27, 2017

Hi Hugo,

The Rest calls on the JIRA side provide information about pull requests. Take a look at the post Solved:  Get commits info of a JIRA issue using REST API:

If you want to retrieve detailed information you need to use /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/commits on stash side. More information availbale here https://developer.atlassian.com/static/rest/stash/3.0.1/stash-rest.html#idp266256

Cheers,

Branden

Hugo Mora February 4, 2018

Hi Branden,

This link comes from Stash. It's not working... not for me.

In a Jira Software (cloud version) is possible to get all the repos or connected applications?

https://<site>.atlassian.net/rest/api/1.0/projects/SW/repos

Get all the applications listed on "Connected developer tools" and then commits related.

 

Thanks a lot!

--Hugo

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, ace, atlassian community event, donation, girls who code, women in tech, malala fund, plan international, kudos, community badge, badge, atlassian badge, International Women’s month, International Women’s Day, women's month, women's day

10 for Change at Atlassian Community Events

Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!

Join an Atlassian Community Event!
AUG Leaders

Upcoming Jira Events