Forums

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

REST API Returns Empty for few projects

visagan santhanam October 4, 2018

Hi,

iam using the Below API to get the information of commits on repositories linked to a JIRA issue.

http://<jiraurl>/rest/dev-status/latest/issue/detail?issueId=238242&applicationType=stash&dataType=repository

For most of the projects, it returns data but for few it returns empty values as below? am i missing anything?

{
"errors": [],
"detail": [
{
"repositories": [],
"_instance": {
"applicationLinkId": "d45b4df2-0e16-3c7c-9b17-e7c1c74cdf7b",
"singleInstance": false,
"primary": true,
"baseUrl": "https://xxx.na.uis.unisys.com:8443",
"name": "Bitbucket",
"typeName": "Bitbucket Server",
"id": "d45b4df2-0e16-3c7c-9b17-e7c1c74cdf7b",
"type": "stash"
}
}
]
}

0 answers

Suggest an answer

Log in or Sign up to answer