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

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

This widget could not be displayed.

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

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

281 views 5 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you