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

0 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Service Desk

Wy are we still using email for Service Desk workflows?

...attest to the experience of an urgent approval that gets lost in the boss’s inbox and requires that special “Please Approve” email or text message. In an age where we have distributed teams...

90 views 0 2
Read article

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