Closed rightker closed 7 years ago
Need more information. 1) What is the datasource type (github, bugzilla, Jira)? 2) When does the message appear? When the + button is clicked? When the CRs are selected? When OK is clicked to add the selected CRs?
github, when clicking on the + button
What's the repository and product name?
For example:
https://api.github.com/repos/OpenMake-Software/DeployHub-Pro/issues/
Is not returning a JSON Array any more - this is causing the problem. Looks like they've changed the API.
Actually, ignore that. Trailing / was causing the issue. Without that, it works fine.
I added a new github repo datasource and added it to an app and + works fine. So I cannot reproduce right now. Can you try again, see if it was a blip at the github end?
I tried every possible combination and couldn't get it to work for this Repo: https://github.com/OpenMake-Software/DeployHub-Pro/issues
So what exactly should I put into the Product and Repository fields? Should I use the one I've been using or the one you have shown above?
That's working fine for me both directly and via the api with DeployHub.
Call me!
Added Credential to Data Source and now it works. Github determined that there was too much activity from my particular i.p. address and was returning a null instead of a JSON array. Adding the Credential caused Github to think a different user was logging in and then returned the necessary data in the array. We need a better error msg for this, perhaps? Closing this issue.
Err Msg 'Cannot connect to change request datasource: This is not a JSON Array.' appears when attempting to add a Change Request to an Application or Component. Change Request Datasources are set up correctly, and have been around for a while, and Components and Applications contain CRs that have been closed. This takes place in two different installations.