Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get commits info of a JIRA issue via REST API?

Alex
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!
June 14, 2018

Dear experts,

I found below answer:

https://community.atlassian.com/t5/Answers-Developer-Questions/Get-commits-info-of-a-JIRA-issue-using-REST-API/qaq-p/530323

but unfortunately, it doesn't work for me.

I got below response:

"detail": [ { "repositories": [], "_instance": { "name": "BitBucket", "baseUrl": "http://stash.xxx.com", "primary": true, "typeName": "Bitbucket Server", "singleInstance": false, "applicationLinkId": "0346e5d3-a137-349b-870f-4e47648b2cff", "type": "stash", "id": "0346e5d3-a137-349b-870f-4e47648b2cff" } } ]

I can't find any useful information.

Could you please let me know whether there is anything wrong?

 

Thanks for your help!

1 answer

0 votes
Trudy Claspill
Contributor
June 3, 2019

What exactly are you providing in your API call? Are you providing a JIRA issue ID for an issue that has associated commits? Is the Stash URL shown in the results correct for your ecosystem as the location where those commits have been made?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events